mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Tweak preformatted block styling
This commit is contained in:
@@ -967,6 +967,17 @@ div.card-overlay {
|
||||
max-width: unset;
|
||||
}
|
||||
|
||||
// Preformatted text blocks
|
||||
td pre {
|
||||
margin-bottom: 0
|
||||
}
|
||||
pre.block {
|
||||
padding: $spacer;
|
||||
background-color: var(--nbx-pre-bg);
|
||||
border: 1px solid var(--nbx-pre-border-color);
|
||||
border-radius: $border-radius;
|
||||
}
|
||||
|
||||
#django-messages {
|
||||
position: fixed;
|
||||
right: $spacer;
|
||||
|
@@ -7,11 +7,7 @@ body {
|
||||
}
|
||||
|
||||
pre {
|
||||
padding: $spacer;
|
||||
white-space: pre;
|
||||
background-color: var(--nbx-pre-bg);
|
||||
border: 1px solid var(--nbx-pre-border-color);
|
||||
border-radius: $border-radius;
|
||||
}
|
||||
|
||||
// Force <small/> elements to make text smaller.
|
||||
|
Reference in New Issue
Block a user