Update mono bbcode

This commit is contained in:
Visman 2023-04-12 11:30:51 +07:00
parent 8a7c586c3b
commit ba43422052
2 changed files with 7 additions and 1 deletions

View file

@ -240,7 +240,7 @@ HANDLER,
[
'tag' => 'mono',
'handler' => <<<'HANDLER'
return "<code>{$body}</code>";
return "<code class=\"f-bb-mono\">{$body}</code>";
HANDLER,
],
[

View file

@ -1644,6 +1644,12 @@ body,
min-height: 2rem;
}
#fork .f-bb-mono {
border: 0.0625rem solid #C0C0C0;
background-color: #FFFFFF;
padding: 0 0.25rem;
}
#fork .f-bb-l-disc {
list-style-type: disc;
list-style-position: outside;