mirror of
https://github.com/netbox-community/netbox.git
synced 2026-01-25 04:50:00 -06:00
Tweak object list sizing, alignment
This commit is contained in:
File diff suppressed because one or more lines are too long
2
netbox/project-static/dist/netbox-dark.css
vendored
2
netbox/project-static/dist/netbox-dark.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
netbox/project-static/dist/netbox-light.css
vendored
2
netbox/project-static/dist/netbox-light.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user