mirror of
https://codeberg.org/Freedium-cfd/web.git
synced 2026-03-11 09:04:37 +00:00
web: minor problem fix
This commit is contained in:
parent
2d8c0d012d
commit
e7f36dd5bc
2 changed files with 1 additions and 4 deletions
|
|
@ -511,7 +511,7 @@ def parse_markups(markups: list):
|
|||
elif markup["type"] == "EM":
|
||||
template = "<em>{{text}}</em>"
|
||||
elif markup["type"] == "CODE":
|
||||
template = "<code class='p-1 bg-gray-300 dark:bg-gray-600'>{{text}}</code>"
|
||||
template = "<code class='p-1.5 bg-gray-300 dark:bg-gray-600'>{{text}}</code>"
|
||||
else:
|
||||
logger.error(f"Unknown markup type: {markup}")
|
||||
continue
|
||||
|
|
|
|||
|
|
@ -74,9 +74,6 @@
|
|||
letter-spacing: -0.06px;
|
||||
font-family: source-serif-pro, Georgia, Cambria, "Times New Roman", Times, serif;
|
||||
}
|
||||
code {
|
||||
background-color: #e3e2e2;
|
||||
}
|
||||
pre {
|
||||
font-size: 75%;
|
||||
background-color: #e3e2e2;
|
||||
|
|
|
|||
Loading…
Reference in a new issue