Fix media player collapsing in sidebar on short viewports and mobile

Added min-height and flex-shrink: 0 to prevent the sidebar flex layout
from compressing the player to zero height. Desktop 120px, tablet 100px,
phone 90px. The sidebar-spacer absorbs compression instead.
This commit is contained in:
Broque Thomas 2026-04-03 13:51:18 -07:00
parent 20582c531b
commit 96f80753fa
2 changed files with 8 additions and 1 deletions

View file

@ -113,7 +113,8 @@
}
#media-player {
min-height: fit-content;
min-height: 110px;
flex-shrink: 0;
}
.tool-help-button {
@ -1915,6 +1916,8 @@
margin: 8px 10px;
padding: 14px;
border-radius: 12px;
min-height: 100px;
flex-shrink: 0;
}
.media-header {
@ -2275,6 +2278,8 @@
.media-player {
margin: 6px 8px;
padding: 10px;
min-height: 90px;
flex-shrink: 0;
}
.media-player .track-title {

View file

@ -523,6 +523,8 @@ body {
0 2px 8px rgba(0, 0, 0, 0.3),
inset 0 1px 0 rgba(255, 255, 255, 0.07);
position: relative;
min-height: 120px;
flex-shrink: 0;
}
.media-player:hover {