web: minor problem fix

This commit is contained in:
ZhymabekRoman 2024-06-10 22:08:38 +05:00
parent 2d8c0d012d
commit e7f36dd5bc
2 changed files with 1 additions and 4 deletions

View file

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

View file

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