Remove top/bottom margin from the first/last element in <aside>

This commit is contained in:
daudix
2024-10-12 03:23:19 +03:00
parent ef3525952e
commit 25771bec3b
3 changed files with 12 additions and 0 deletions

View File

@ -215,6 +215,14 @@ aside {
margin-inline-start: 0;
width: 100%;
}
:first-child {
margin-block-start: 0;
}
:last-child {
margin-block-end: 0;
}
}
details {