mirror of
https://github.com/vitovt/obsidian-csv-modern-codeblock.git
synced 2026-07-22 14:30:23 +00:00
27 lines
490 B
CSS
27 lines
490 B
CSS
.csv-codeblock {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.csv-codeblock__scroll {
|
|
max-width: 100%;
|
|
overflow-x: auto;
|
|
overflow-y: auto;
|
|
max-height: 24rem;
|
|
}
|
|
|
|
.csv-codeblock__table {
|
|
min-width: 100%;
|
|
width: max-content;
|
|
}
|
|
|
|
.csv-codeblock__header-row th {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 1;
|
|
background-color: var(--background-primary);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.csv-codeblock--zebra .csv-codeblock__table tbody tr:nth-child(even) td {
|
|
background-color: var(--background-secondary-alt);
|
|
}
|