Skip to content

Commit 823ee14

Browse files
authored
Merge pull request #18785 from allanjoseph98/relay-vertical-resizer-fix
sync broadcast game height to vertical resizer
2 parents 59f9924 + 3599492 commit 823ee14

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

ui/analyse/css/study/relay/_tour.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,7 @@ $hover-bg: $m-primary_bg--mix-30;
505505
align-items: stretch;
506506
gap: 0.5em;
507507
padding: 0.5em 0.7em 0.5em 0.2em;
508+
height: 50px;
508509
border-bottom: $border;
509510
border-left: 3px solid transparent;
510511
&:hover {

ui/analyse/src/study/relay/relayTourView.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ export const tourSide = (ctx: RelayViewContext, kid: LooseVNode) => {
106106
resizeId &&
107107
verticalResize({
108108
key: `relay-games.${resizeId}`,
109-
min: () => 48,
110-
max: () => 48 * study.chapters.list.size(),
109+
min: () => 50, // Height of one .relay-game in _tour.scss
110+
max: () => 50 * study.chapters.list.size(),
111111
initialMaxHeight: () => window.innerHeight / 2,
112112
}),
113113
ctx.ctrl.chatCtrl && renderChat(ctx.ctrl.chatCtrl),

0 commit comments

Comments
 (0)