Merge pull request #228 from gamosoft/features/table-alignment
cell alignments
This commit is contained in:
commit
28dc6d7d7c
|
|
@ -550,6 +550,9 @@ def generate_export_html(
|
||||||
padding: 0.5em 1em;
|
padding: 0.5em 1em;
|
||||||
text-align: left;
|
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 {{
|
.markdown-preview th {{
|
||||||
background-color: var(--bg-secondary, #f6f8fa);
|
background-color: var(--bg-secondary, #f6f8fa);
|
||||||
|
|
|
||||||
|
|
@ -432,6 +432,9 @@
|
||||||
padding: 0.75rem 1rem;
|
padding: 0.75rem 1rem;
|
||||||
text-align: left;
|
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 {
|
.markdown-preview th {
|
||||||
background-color: var(--bg-tertiary);
|
background-color: var(--bg-tertiary);
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue