mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +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 {
|
||||
flex: 0 0 calc(100% - #{$galleryTabWidth} - 15px);
|
||||
height: calc(100vh - 4rem);
|
||||
max-width: calc(100% - #{$galleryTabWidth} - 15px);
|
||||
overflow: auto;
|
||||
|
||||
&.expanded {
|
||||
flex: 0 0 calc(100% - 15px);
|
||||
@@ -180,11 +182,6 @@ $galleryTabWidth: 450px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.gallery-container {
|
||||
height: calc(100vh - 4rem);
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
@media (min-width: 1200px), (max-width: 575px) {
|
||||
.gallery-performers {
|
||||
.performer-card {
|
||||
|
||||
Reference in New Issue
Block a user