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

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

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.