add a shadow on overflowing notifications popover
and fix the title in chrome vs FF
This commit is contained in:
parent
3b2ff7103a
commit
03e615bcc9
2 changed files with 15 additions and 4 deletions
|
@ -259,8 +259,9 @@
|
||||||
}, offset), 0)
|
}, offset), 0)
|
||||||
|
|
||||||
var maxHeight = $('#app').height() - 18
|
var maxHeight = $('#app').height() - 18
|
||||||
if(height > maxHeight)
|
if(height > maxHeight){
|
||||||
$tip.height(maxHeight)
|
$tip.height(maxHeight).addClass('is-overflowing')
|
||||||
|
}
|
||||||
|
|
||||||
$tip.addClass('in')
|
$tip.addClass('in')
|
||||||
|
|
||||||
|
|
|
@ -2725,13 +2725,23 @@ footer {
|
||||||
&.is-visible {
|
&.is-visible {
|
||||||
@extend .vertical;
|
@extend .vertical;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.popover-content {
|
||||||
|
@extend .flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.is-overflowing .popover-notificationsHeader {
|
||||||
|
box-shadow:
|
||||||
|
0 1px hsla(240,4%,95%,.5),
|
||||||
|
0 2px hsla(240,4%,95%,.2);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.popover-notificationsHeader {
|
.popover-notificationsHeader {
|
||||||
@extend .horizontal;
|
@extend .horizontal;
|
||||||
@extend .end;
|
@extend .end;
|
||||||
@extend .popover-title;
|
padding-bottom: 22px;
|
||||||
padding-bottom: 29px;
|
margin: 21px 17px 0;
|
||||||
|
|
||||||
.popover-title {
|
.popover-title {
|
||||||
@extend h1;
|
@extend h1;
|
||||||
|
|
Loading…
Reference in a new issue