Tweak object list sizing, alignment

This commit is contained in:
jeremystretch 2021-07-20 21:16:36 -04:00
parent f2f9c926bb
commit 347ea4ca98
9 changed files with 15 additions and 11 deletions

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -278,22 +278,26 @@ body {
}
td,
th {
font-size: $font-size-xs;
font-size: $font-size-sm;
line-height: $line-height-sm;
vertical-align: middle;
&.min-width {
width: 1%;
}
& input.form-check-input {
// Ensure checkboxes aren't too small inside object tables.
font-size: $font-size-base;
margin-top: 0.125em;
}
& .btn-sm {
line-height: $line-height-xs;
}
}
&.attr-table {
td,
&.object-list {
th {
font-size: $font-size-sm;
line-height: $line-height-sm;
font-size: $font-size-xs;
line-height: $line-height-xs;
vertical-align: bottom;
}
}
}

View File

@ -21,7 +21,7 @@ $font-weight-lighter: 200;
$font-weight-medium: 600;
$font-weight-bolder: 800;
$font-size-xs: 0.9rem;
$font-size-xs: 0.75rem;
$line-height-base: 1.5;
$line-height-xs: 1;

View File

@ -24,7 +24,7 @@ class BaseTable(tables.Table):
class Meta:
attrs = {
'class': 'table table-hover table-headings',
'class': 'table table-hover object-list',
}
def __init__(self, *args, user=None, **kwargs):