mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-18 05:28:16 -06:00
Fix icon & badge spacing inside buttons and tabs
This commit is contained in:
parent
39c0e68864
commit
e30ff425a8
BIN
netbox/project-static/dist/netbox.css
vendored
BIN
netbox/project-static/dist/netbox.css
vendored
Binary file not shown.
@ -5,8 +5,8 @@
|
||||
|
||||
// Overrides of external libraries
|
||||
@import 'overrides/slim-select';
|
||||
@import 'overrides/tabler';
|
||||
|
||||
// Transitional styling
|
||||
// Transitional styling to ease migration of templates from NetBox v3.x
|
||||
@import 'transitional/cards';
|
||||
@import 'transitional/icons';
|
||||
@import 'transitional/tables';
|
||||
|
13
netbox/project-static/styles/overrides/_tabler.scss
Normal file
13
netbox/project-static/styles/overrides/_tabler.scss
Normal file
@ -0,0 +1,13 @@
|
||||
// Buttons
|
||||
.btn {
|
||||
// Tabler sets display: flex
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
// Tabs
|
||||
.nav-tabs {
|
||||
.nav-link {
|
||||
// Tabler sets display: flex
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
// Add padding between icon and text
|
||||
// TODO: Find a more robust solution for this
|
||||
.mdi {
|
||||
padding-right: 4px;
|
||||
}
|
||||
// Omit padding inside small buttons (no text)
|
||||
.btn-sm {
|
||||
.mdi {
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user