Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Package registry
Container registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
videoag
frontend
Commits
158dbc71
Verified
Commit
158dbc71
authored
Jun 30, 2024
by
Dorian Koch
Browse files
Options
Downloads
Patches
Plain Diff
fix layout shifting during data load
parent
e18e2567
No related branches found
No related tags found
1 merge request
!14
fix layout shift, improve footer, add timetable, housekeeping
Pipeline
#6126
passed
Jun 30, 2024
Stage: test
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/components/Player.tsx
+1
-1
1 addition, 1 deletion
src/components/Player.tsx
src/styles/globals.scss
+5
-1
5 additions, 1 deletion
src/styles/globals.scss
with
6 additions
and
2 deletions
src/components/Player.tsx
+
1
−
1
View file @
158dbc71
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
src/styles/globals.scss
+
5
−
1
View file @
158dbc71
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment