Skip to content
Snippets Groups Projects
Unverified Commit 42ec4ddf authored by Conrad Zelck's avatar Conrad Zelck
Browse files

style: give code in preview some margin-top


Signed-off-by: default avatarConrad Zelck <git@simpel.cc>
parent d61dd822
No related branches found
No related tags found
No related merge requests found
...@@ -314,6 +314,7 @@ div.disabled, p.disabled, label.disabled, ...@@ -314,6 +314,7 @@ div.disabled, p.disabled, label.disabled,
***************************************************************************** */ ***************************************************************************** */
/* this pre wraps the whole html #output if html is selected */
pre { pre {
text-wrap: pretty; text-wrap: pretty;
word-break: break-word; word-break: break-word;
...@@ -321,6 +322,12 @@ pre { ...@@ -321,6 +322,12 @@ pre {
font-family: inherit; font-family: inherit;
} }
/* this is code in #output if preview is selected */
pre:has(code) {
margin-block-start: 1em;
}
/* default is center and looks ugly */
th { th {
text-align: left; text-align: left;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment