cell alignments

This commit is contained in:
Gamosoft 2026-06-01 15:50:27 +02:00
parent ce429e7ab6
commit cc4aab25d7
2 changed files with 6 additions and 0 deletions

View File

@ -550,6 +550,9 @@ def generate_export_html(
padding: 0.5em 1em;
text-align: left;
}}
.markdown-preview th[align="left"], .markdown-preview td[align="left"] {{ text-align: left; }}
.markdown-preview th[align="right"], .markdown-preview td[align="right"] {{ text-align: right; }}
.markdown-preview th[align="center"], .markdown-preview td[align="center"] {{ text-align: center; }}
.markdown-preview th {{
background-color: var(--bg-secondary, #f6f8fa);

View File

@ -432,6 +432,9 @@
padding: 0.75rem 1rem;
text-align: left;
}
.markdown-preview th[align="left"], .markdown-preview td[align="left"] { text-align: left; }
.markdown-preview th[align="right"], .markdown-preview td[align="right"] { text-align: right; }
.markdown-preview th[align="center"], .markdown-preview td[align="center"] { text-align: center; }
.markdown-preview th {
background-color: var(--bg-tertiary);
font-weight: 600;