Make every notification 20px wider
This commit is contained in:
parent
f28d458b60
commit
a4e98bed57
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ class Notifications
|
|||
), timeout
|
||||
|
||||
# Animate
|
||||
width = Math.min(elem.outerWidth() + 50, 580)
|
||||
width = Math.min(elem.outerWidth() + 70, 580)
|
||||
if not timeout then width += 20 # Add space for close button
|
||||
if elem.outerHeight() > 55 then elem.addClass("long")
|
||||
elem.css({"width": "50px", "transform": "scale(0.01)"})
|
||||
|
|
Loading…
Reference in a new issue