Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
fix: fix sizing of videos
Browse files Browse the repository at this point in the history
Removes the padding hack they were using, not sure why it was there
  • Loading branch information
adil192 committed Jan 28, 2024
1 parent a326009 commit 3c5f6d6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
9 changes: 6 additions & 3 deletions main.css
Original file line number Diff line number Diff line change
Expand Up @@ -1905,15 +1905,18 @@
* {
accent-color: #8142a6 !important;
}
body {
margin: 0;
}
html, body,
#main,
.vl-video-embedded,
#video,
video,
.vjs-poster {
background-color: #1d1b1e !important;
color: #e8e0e5;
color-scheme: dark;
padding: 0;
margin: 0;
height: 100%;
}
.video-js .vjs-control-bar {
background: rgba(29, 27, 30, 0.7) !important;
Expand Down
10 changes: 6 additions & 4 deletions styles/_video.manchester.ac.uk.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,18 @@ $video-elem-color: color-mix(in oklab, $on-header, white 90%);
accent-color: $primary !important;
}

body {
margin: 0;
}

html, body,
#main,
.vl-video-embedded,
#video,
video,
.vjs-poster {
background-color: $header !important;
color: $on-header;
color-scheme: dark;
padding: 0;
margin: 0;
height: 100%;
}

.video-js .vjs-control-bar {
Expand Down

0 comments on commit 3c5f6d6

Please sign in to comment.