Skip to content

Commit

Permalink
watch page: Align the height of streams-sidebar with the watch wrappe…
Browse files Browse the repository at this point in the history
…r in case when the page size is wide but not high enough.
  • Loading branch information
YiranDuan721 committed Dec 4, 2023
1 parent b6697f1 commit a31c723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/template/watch.gohtml
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@
{{if .IndexData.TUMLiveContext.User}}
<div id="streams-box" x-cloak="" x-show="sidebar === watch.SidebarState.Streams"
:class="sidebar === watch.SidebarState.Streams ? 'lg:basis-1/4' : 'lg:basis-0'"
class="order-4 z-20 basis-full px-5 md:px-2 lg:order-none lg:h-16/6 h-96">
class="order-4 z-20 basis-full px-5 md:px-2 lg:order-none lg:h-16/6 h-16/9">
{{template "playlist" $stream.ID}}
</div>
{{end}}
Expand Down

0 comments on commit a31c723

Please sign in to comment.