Better spacing between items in usergrid

pull/1/head
yflory 2019-11-25 17:43:55 +01:00
parent 89cff3c541
commit bf6681c5e6
1 changed files with 2 additions and 6 deletions

View File

@ -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;