Skip to content

Commit

Permalink
🐛 fix: right sidebar canvas height
Browse files Browse the repository at this point in the history
  • Loading branch information
sanoojes committed Nov 17, 2024
1 parent c64e99f commit 2bb01f4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/user.css

Large diffs are not rendered by default.

14 changes: 12 additions & 2 deletions styles/cards/right-sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@

&,
.main-nowPlayingView-coverArtContainer {
--media-container-height: calc(var(--panel-width, 420) * 1px) !important;
--media-container-height: calc(
(var(--panel-width, 420) * 1px) - 32px
) !important;
}
.main-nowPlayingView-coverArtContainer.hjyiWzPtKHn_5kCe9vyg {
height: var(--height, 60vh) !important;
}

.main-nowPlayingView-nowPlayingWidget {
Expand Down Expand Up @@ -70,8 +75,13 @@
}

/* VideoNPV */
.KrBYgWLGb5aRHjoD_prX {
.KrBYgWLGb5aRHjoD_prX,
#VideoPlayerNpv_ReactPortal {
margin-top: 8px !important;
margin-left: -8px;
margin-right: -8px;
border-radius: $border-radius-md;
overflow: hidden;
}

.ouiL5cH1WduxtprQ0Iig {
Expand Down

0 comments on commit 2bb01f4

Please sign in to comment.