From bf6681c5e6e3452ba92538c2cff49e9b3c82f1a9 Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 25 Nov 2019 17:43:55 +0100 Subject: [PATCH] Better spacing between items in usergrid --- customize.dist/src/less2/include/usergrid.less | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/customize.dist/src/less2/include/usergrid.less b/customize.dist/src/less2/include/usergrid.less index 38202de86..19c3d1d3a 100644 --- a/customize.dist/src/less2/include/usergrid.less +++ b/customize.dist/src/less2/include/usergrid.less @@ -10,6 +10,7 @@ .cp-usergrid-grid { display: flex; flex-wrap: wrap; + margin: -3px; margin-bottom: 6px; } &.cp-usergrid-empty { @@ -42,17 +43,12 @@ justify-content: center; align-items: center; padding: 5px; - margin-bottom: 6px; - margin-right: 6px; + margin: 3px; cursor: default; transition: order 0.5s, background-color 0.5s; margin-top: 1px; .tools_unselectable(); - &:nth-child(6n) { - margin-right: 0; - } - &.cp-selected { background-color: @colortheme_alertify-primary; color: @colortheme_alertify-primary-text;