Use 100% width on cards in mobile (#3576)

This commit is contained in:
WithoutPants 2023-04-17 15:28:00 +10:00 committed by GitHub
parent 32cefea524
commit 6a6545305c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 24 additions and 0 deletions

View file

@ -26,6 +26,10 @@
overflow: hidden;
padding: 0;
padding-bottom: 1rem;
@media (max-width: 576px) {
width: 100%;
}
}
.card-section {

View file

@ -17,6 +17,10 @@
&.card {
overflow: hidden;
padding: 0;
@media (max-width: 576px) {
width: 100%;
}
}
.rating-banner {

View file

@ -68,6 +68,10 @@
.performer-card {
width: 20rem;
@media (max-width: 576px) {
width: 100%;
}
.thumbnail-section {
position: relative;
}

View file

@ -89,6 +89,10 @@ textarea.scene-description {
.studio-card {
padding: 0.5rem;
@media (max-width: 576px) {
width: 100%;
}
&-header {
height: 150px;
line-height: 150px;
@ -241,6 +245,10 @@ textarea.scene-description {
overflow: hidden;
padding: 0;
@media (max-width: 576px) {
width: 100%;
}
&.fileless {
background-color: darken($card-bg, 5%);
}

View file

@ -22,6 +22,10 @@
.tag-card {
padding: 0.5rem;
@media (max-width: 576px) {
width: 100%;
}
&-image {
display: block;
margin: 0 auto;