Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arsnova-lite
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
24
Issues
24
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ARSnova
arsnova-lite
Commits
27d91104
Commit
27d91104
authored
Sep 28, 2019
by
Klaus-Dieter Quibeldey-Cirkel
🏀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make iframe responsive
parent
0082d34a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
1 deletion
+18
-1
demo-de.html
src/assets/i18n/demo/demo-de.html
+0
-1
demo.scss
src/assets/i18n/demo/demo.scss
+18
-0
No files found.
src/assets/i18n/demo/demo-de.html
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>
...
...
src/assets/i18n/demo/demo.scss
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%
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment