Better homepage spacing

This commit is contained in:
Chocobozzz 2024-12-02 15:42:10 +01:00
parent d7c48ff5f8
commit 1fc09ceb6a
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 9 additions and 5 deletions

View File

@ -3,6 +3,7 @@ peertube-container {
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: 2rem;
}
> .layout-column {
@ -10,7 +11,7 @@ peertube-container {
flex-direction: column;
}
> .header {
.header {
margin: 30px 0 15px;
> h4 {
@ -19,8 +20,11 @@ peertube-container {
}
}
// Workaround to detect iOS that doesn't support gap in flexbox
@supports not (inset: 0) {
peertube-video-miniature,
peertube-playlist-miniature,
peertube-channel-miniature {
margin-inline-end: 30px;
margin-inline-end: 2rem;
}
}