Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
arsnova-lite
Manage
Activity
Members
Labels
Plan
Issues
24
Issue boards
Milestones
Wiki
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Privacy
Imprint
Contact
Snippets
Groups
Projects
Show more breadcrumbs
ARSnova
arsnova-lite
Commits
27d91104
Commit
27d91104
authored
5 years ago
by
Klaus-Dieter Quibeldey-Cirkel
Browse files
Options
Downloads
Patches
Plain Diff
make iframe responsive
parent
0082d34a
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/assets/i18n/demo/demo-de.html
+0
-1
0 additions, 1 deletion
src/assets/i18n/demo/demo-de.html
src/assets/i18n/demo/demo.scss
+18
-0
18 additions, 0 deletions
src/assets/i18n/demo/demo.scss
with
18 additions
and
1 deletion
src/assets/i18n/demo/demo-de.html
+
0
−
1
View file @
27d91104
...
...
@@ -2,7 +2,6 @@
<div
class=
"videoWrapper"
>
<iframe
tabindex=
"0"
width=
"560"
height=
"315"
[ngClass]=
"{'mobileFrame': deviceType === 'mobile', 'desktopFrame': deviceType === 'desktop'}"
src=
"https://www.youtube.com/embed/0mxQxPmU9Aw?autoplay=0"
frameborder=
"0"
allowfullscreen
></iframe>
...
...
This diff is collapsed.
Click to expand it.
src/assets/i18n/demo/demo.scss
+
18
−
0
View file @
27d91104
...
...
@@ -4,3 +4,21 @@ p {
-webkit-hyphens
:
auto
;
hyphens
:
auto
;
}
iframe
{
width
:
100%
;
}
.videoWrapper
{
position
:
relative
;
padding-bottom
:
56
.25%
;
/* 16:9 */
padding-top
:
25px
;
height
:
0
;
}
.videoWrapper
iframe
{
position
:
absolute
;
top
:
0
;
left
:
0
;
width
:
100%
;
height
:
100%
;
}
This diff is collapsed.
Click to expand it.
Preview
0%
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