mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2025-02-16 18:14: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'
|
||||
link: (scope, element, attrs) ->
|
||||
$(element).colorbox attrs.colorbox
|
||||
$(element).colorbox({maxWidth:'90%', maxHeight:'90%'})
|
||||
return
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue