Skip to content

Commit

Permalink
client: fix controls alignment and fix controls making site unusable …
Browse files Browse the repository at this point in the history
…on mobile (#1553)
  • Loading branch information
dyc3 authored Mar 22, 2024
1 parent 9d2bf70 commit 41c4ade
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions client/src/components/controls/VideoControls.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
}"
>
<VideoProgressSlider :current-position="sliderPosition" />
<v-row no-gutters>
<v-row no-gutters class="controls-row2">
<BasicControls :current-position="truePosition" />
<!-- eslint-disable-next-line vue/no-v-model-argument -->
<VolumeControl />
Expand Down Expand Up @@ -123,7 +123,8 @@ $media-control-background: var(--v-theme-media-control-background, (0, 0, 0));
}
.video-controls {
height: $video-controls-height;
flex-basis: auto;
min-height: $video-controls-height;
transition: all 0.2s;
z-index: 100;
Expand Down Expand Up @@ -157,5 +158,9 @@ $media-control-background: var(--v-theme-media-control-background, (0, 0, 0));
height: 0;
}
}
.controls-row2 {
align-items: center;
}
}
</style>

0 comments on commit 41c4ade

Please sign in to comment.