FIX: better alignment of groups header filters (#6650)

FIX: better alignment of groups header filters (#6650)

This is located at the top of the /groups page.

From e77cc44f0786dc368647326a8264cd224379c8cd Mon Sep 17 00:00:00 2001
From: Joffrey JAFFEUX <j.jaffeux@gmail.com>
Date: Thu, 22 Nov 2018 16:18:02 +0100
Subject: [PATCH] FIX: better alignment of groups header filters (#6650)

This is located at the top of the /groups page.

diff --git a/app/assets/stylesheets/common/base/groups.scss b/app/assets/stylesheets/common/base/groups.scss
index 609cef8..c7658fc 100644
--- a/app/assets/stylesheets/common/base/groups.scss
+++ b/app/assets/stylesheets/common/base/groups.scss
@@ -10,15 +10,16 @@
 }
 
 .groups-header-filters {
-  display: inline-block;
+  display: flex;
 
+  .groups-header-filters-name,
   .groups-header-filters-type {
-    vertical-align: middle;
+    margin-right: 5px;
+    margin-bottom: 0;
   }
 
-  .groups-header-filters-name {
-    vertical-align: middle;
-    margin: 0;
+  &:last-child {
+    margin-right: 0;
   }
 }

GitHub

2 Likes