mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-27 14:33:59 -04:00
Merge pull request #3123 from UltCombo/iframe-style
Remove iframe borders using CSS instead of DOM
This commit is contained in:
commit
b03091c35d
2 changed files with 3 additions and 1 deletions
app
|
@ -14,6 +14,9 @@ h1, h2, h3, h4, h5, h6
|
|||
a
|
||||
cursor: pointer
|
||||
|
||||
iframe
|
||||
border: none
|
||||
|
||||
.error
|
||||
left: 8px
|
||||
|
||||
|
|
|
@ -121,7 +121,6 @@ module.exports = class LevelGuideView extends CocoView
|
|||
tag.src = helpVideoURL + "?api=1&badge=0&byline=0&portrait=0&title=0"
|
||||
tag.height = @helpVideoHeight
|
||||
tag.width = @helpVideoWidth
|
||||
tag.frameborder = '0'
|
||||
tag.allowFullscreen = true
|
||||
@$el.find('#help-video-player').replaceWith(tag)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue