add styling for tables in rich text blocks
This commit is contained in:
@ -125,4 +125,30 @@
|
|||||||
height: 1px;
|
height: 1px;
|
||||||
background: var(--color-text);
|
background: var(--color-text);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
table {
|
||||||
|
width: 100%;
|
||||||
|
max-width: var(--size-width-p);
|
||||||
|
border-collapse: collapse;
|
||||||
|
margin: 0 auto;
|
||||||
|
|
||||||
|
tr {
|
||||||
|
border-top: var(--border);
|
||||||
|
|
||||||
|
&:last-child {
|
||||||
|
border-bottom: var(--border);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
th {
|
||||||
|
text-align: left;
|
||||||
|
width: 11rem;
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
th,
|
||||||
|
td {
|
||||||
|
padding: var(--spacing-xs) 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user