fix(core): 🐛 fix uneven margin in table cells

This commit is contained in:
alistair3149 2024-07-25 02:24:38 -04:00
parent dad5c26e02
commit 9baf8510ce
No known key found for this signature in database
GPG key ID: 16076C01E5C88864

View file

@ -86,12 +86,18 @@ th {
color: var( --color-emphasized );
}
/* Remove outer margin in table cell */
th,
td {
> p,
> ul,
> ol {
&:first-child {
margin-top: 0; // Remove margin for the first element in td
margin-top: 0;
}
&:last-child {
margin-bottom: 0
}
}
}