Skip to content
Snippets Groups Projects
Verified Commit 158dbc71 authored by Dorian Koch's avatar Dorian Koch
Browse files

fix layout shifting during data load

parent e18e2567
No related branches found
No related tags found
1 merge request!14fix layout shift, improve footer, add timetable, housekeeping
Pipeline #6126 passed
...@@ -668,7 +668,7 @@ export default function Player({ playerData }: { playerData: ResourceType<Player ...@@ -668,7 +668,7 @@ export default function Player({ playerData }: { playerData: ResourceType<Player
</Popover> </Popover>
); );
let einbettenText = `<div style="position:relative;padding-top:56.25%;"><iframe style="position:absolute;top:0;left:0;width:100%;height:100%;overflow: hidden;border: none;" src="${window.location.origin}${basePath}/${course.id_string}/${lecture.id}/embed" allowfullscreen="true"></iframe></div>`; let einbettenText = `<div style="position:relative;padding-top:56.25%;"><iframe style="position:absolute;top:0;left:0;width:100%;height:100%;overflow: hidden;border: none;" src="${window.location.origin}${basePath}/${course.id_string}/${lecture.id}/embed" allowfullscreen="true" scrolling="no"></iframe></div>`;
const einbettenCopy = () => { const einbettenCopy = () => {
var copyText = document.getElementById("einbettenInput") as HTMLInputElement; var copyText = document.getElementById("einbettenInput") as HTMLInputElement;
......
...@@ -275,3 +275,7 @@ $link-decoration: none; ...@@ -275,3 +275,7 @@ $link-decoration: none;
width: 100%; width: 100%;
overflow-x: auto; overflow-x: auto;
} }
html {
overflow-y: scroll;
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment