1
0
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:
jeremystretch
2021-10-28 10:46:00 -04:00
parent 15e011ae52
commit aa9e68e121
10 changed files with 20 additions and 13 deletions

View File

@@ -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;

View File

@@ -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.