mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 12:24:38 +03:00
Only give height to gallery-container on larger devices (#5205)
Having height/overflow on the stacked/vertical orientation causes weird scrolling behaviour.
This commit is contained in:
@@ -163,7 +163,9 @@ $galleryTabWidth: 450px;
|
|||||||
|
|
||||||
.gallery-container {
|
.gallery-container {
|
||||||
flex: 0 0 calc(100% - #{$galleryTabWidth} - 15px);
|
flex: 0 0 calc(100% - #{$galleryTabWidth} - 15px);
|
||||||
|
height: calc(100vh - 4rem);
|
||||||
max-width: calc(100% - #{$galleryTabWidth} - 15px);
|
max-width: calc(100% - #{$galleryTabWidth} - 15px);
|
||||||
|
overflow: auto;
|
||||||
|
|
||||||
&.expanded {
|
&.expanded {
|
||||||
flex: 0 0 calc(100% - 15px);
|
flex: 0 0 calc(100% - 15px);
|
||||||
@@ -180,11 +182,6 @@ $galleryTabWidth: 450px;
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gallery-container {
|
|
||||||
height: calc(100vh - 4rem);
|
|
||||||
overflow: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 1200px), (max-width: 575px) {
|
@media (min-width: 1200px), (max-width: 575px) {
|
||||||
.gallery-performers {
|
.gallery-performers {
|
||||||
.performer-card {
|
.performer-card {
|
||||||
|
|||||||
Reference in New Issue
Block a user