Skip to content

Commit 5506b91

Browse files
authored
Add style for youtube iframes (#285)
fixes width for mobile devices
1 parent be4e9f7 commit 5506b91

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

assets/ilastik.css

+8
Original file line numberDiff line numberDiff line change
@@ -180,3 +180,11 @@ h2:hover .header-link {
180180
overflow: hidden!important;
181181
}
182182
}
183+
184+
/* correct sizing on mobile devices */
185+
iframe[src*=youtube] {
186+
display: block;
187+
margin: 0 auto;
188+
max-width: 100%;
189+
padding-bottom: 8px;
190+
}

0 commit comments

Comments
 (0)