feat(bbcode): Added [nfo] and [pre] tags (#1923)

This commit is contained in:
Roman Kelesidis 2025-06-08 12:44:04 +03:00 committed by GitHub
commit f64c340563
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 30 additions and 0 deletions

View file

@ -392,6 +392,26 @@ a.gen, a.med, a.genmed, a.small, a.gensmall {
display: inline-block;
}
.post_body pre {
border: none;
background: transparent;
padding: 0;
margin: 0;
}
.post-pre {
white-space: pre-wrap;
font-family: "Lucida Console", Consolas, monospace;
}
.post-nfo {
font-size: 13px;
line-height: 1em;
white-space: pre;
font-family: Consolas, monospace;
overflow-y: hidden;
}
/* ---------------------------------- *
Code blocks
* ---------------------------------- */