mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2025-02-19 19:34:23 +01:00
Prevent the lightbox from bleeding past the edges of the screen
This commit is contained in:
parent
2de2b87653
commit
5f96ac4e26
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ angular.module('ponyfm').directive 'colorbox', ->
|
||||||
{
|
{
|
||||||
restrict: 'AC'
|
restrict: 'AC'
|
||||||
link: (scope, element, attrs) ->
|
link: (scope, element, attrs) ->
|
||||||
$(element).colorbox attrs.colorbox
|
$(element).colorbox({maxWidth:'90%', maxHeight:'90%'})
|
||||||
return
|
return
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue