cleanup card UI

This commit is contained in:
Alejandro Gomez 2023-07-28 12:17:53 +02:00
parent 4e4ea9efa6
commit d8a9aee136
No known key found for this signature in database
GPG Key ID: 4DF39E566658C817
2 changed files with 22 additions and 7 deletions

View File

@ -4,14 +4,27 @@
@media (min-width: 1020px) {
.stream-cards {
display: flex;
display: grid;
align-items: flex-start;
gap: 24px;
grid-template-columns: repeat(2, 1fr);
gap: 32px;
margin-top: 12px;
flex-wrap: wrap;
}
}
@media (min-width: 1600px){
.stream-cards {
grid-template-columns: repeat(3, 1fr);
}
}
@media (min-width: 2100px){
.stream-cards {
grid-template-columns: repeat(4, 1fr);
}
}
.card-container {
display: flex;
flex-direction: column;
@ -28,12 +41,8 @@
display: flex;
align-self: flex-start;
flex-direction: column;
padding: 20px 24px;
gap: 16px;
border-radius: 24px;
background: #111;
min-width: 210px;
max-width: 310px;
flex: 1;
}
.stream-card.image-card {

View File

@ -12,6 +12,12 @@
gap: var(--gap-s);
display: flex;
flex-direction: column;
-ms-overflow-style: none;
scrollbar-width: none;
}
.stream-page .video-content::-webkit-scrollbar {
display: none;
}
.stream-page .video-overlay {