fx(css): reduce list height of mailboxes

Fixes #5145
This commit is contained in:
Francis Lachapelle
2020-11-16 12:15:08 -05:00
parent defd3c97a9
commit 0eae8296a3
3 changed files with 15 additions and 5 deletions
@@ -1,10 +1,22 @@
/// checkbox.scss -*- Mode: scss; indent-tabs-mode: nil; basic-offset: 2 -*-
$checkbox-min-height: 40px !default;
@import 'extends';
// Checkbox for the sidenav folders list
// -------------------------------------
md-sidenav md-checkbox {
min-height: $checkbox-width;
.md-container {
top: 50%;
margin: 0;
}
}
// Dense mode
md-sidenav .md-dense :not(.md-dense-disabled) md-checkbox:not(.md-dense-disabled) {
min-height: $checkbox-width;
}
// Checkbox in an inline form beside a select element
@@ -59,9 +59,6 @@ md-list-item {
text-overflow: ellipsis;
text-transform: initial;
white-space: nowrap;
@include from(md) {
line-height: $list-item-height;
}
}
.sg-inline-list-icon-label {
text-transform: uppercase;
@@ -91,6 +88,7 @@ md-list-item {
// Gain some space on the right side of the folder icon
.md-list-item-inner > md-icon:first-child,
.md-list-item-inner > md-checkbox:first-child {
margin-top: auto;
margin-right: $bl * 2;
}