Continuous Integration / build_web (push) Failing after 0s
Continuous Integration / build (macos-latest) (push) Skipped
Continuous Integration / build (ubuntu-22.04) (push) Skipped
Continuous Integration / build (windows-11-arm) (push) Skipped
Continuous Integration / build (windows-latest) (push) Skipped
Continuous Integration / nightly_release (push) Skipped
35 lines
1.3 KiB
SCSS
35 lines
1.3 KiB
SCSS
// Overrides for virtualized library items layout to prevent horizontal overflow
|
|
.library-items-container.virtualized {
|
|
// The window is the only scroll container here. `overflow-x: hidden` used to
|
|
// compute overflow-y as `auto`, so a nested scrollbar appeared, stole 13px of
|
|
// width, changed the column/card size, disappeared, and repeated in a loop.
|
|
overflow: hidden !important;
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
display: block !important; // override grid from route styles
|
|
padding: 0 !important; // override padding from route styles
|
|
position: relative; // required for absolutely positioned rows
|
|
gap: 0 !important;
|
|
justify-items: normal !important;
|
|
align-content: stretch !important;
|
|
> .card {
|
|
max-width: none !important;
|
|
}
|
|
// Ensure no unintended padding expands width
|
|
padding-right: 0;
|
|
padding-left: 0;
|
|
.card {
|
|
margin-right: 0 !important;
|
|
margin-bottom: 0.6em !important; // keep a consistent vertical rhythm
|
|
}
|
|
.card-image-container {
|
|
// Remove box shadow spread from affecting layout width calculation
|
|
box-sizing: border-box;
|
|
}
|
|
}
|
|
|
|
// When page has audio-playing class, avoid extra bottom padding causing scrollbars
|
|
.audio-playing .library-items-container.virtualized {
|
|
padding-bottom: 8em; // mimic original intent without affecting width
|
|
}
|