feat: table border and spacing
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 8s
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 8s
This commit is contained in:
parent
21699b14c5
commit
a0b7fb3a1b
1 changed files with 16 additions and 0 deletions
|
|
@ -331,4 +331,20 @@ async function scrollTo(id: string) {
|
||||||
.markdown :deep(video) {
|
.markdown :deep(video) {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.markdown :deep(table) {
|
||||||
|
width: 100%;
|
||||||
|
border-collapse: collapse;
|
||||||
|
margin-bottom: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown :deep(:where(table th)) {
|
||||||
|
background: #f3f3f7;
|
||||||
|
border: 1px solid #e1e1e8;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown :deep(:where(table td, table th)) {
|
||||||
|
border: 1px solid #e1e1e8;
|
||||||
|
padding: 0.25rem 1rem;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue