Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jan 6, 2020. It is now read-only.

Commit aaff85f

Browse files
committed
Improved less to make overlay bar transition smoother
1 parent efd169b commit aaff85f

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

blocks/core/ff_container/ff_container-overlay/ff_container-overlay.less

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
#ff_container-overlay > .bottom;
5757
}
5858
&--absolute-bottom &__body {
59-
@media (min-width: @ff_bp_medium) {
59+
@media (min-width: @ff_bp_wide) {
6060
#ff_container-overlay > .margin-bottom;
6161
}
6262
}
@@ -103,12 +103,15 @@
103103
}
104104
}
105105
&--task-event-scrollable-top &__body{
106-
@media (min-width: @ff_bp_wide) {
107-
margin-top: 60px;
106+
@media (min-width: 570px) { // Specific breakpoint to push down the
107+
margin-top: 80px;
108108
}
109109
margin-top: 120px;
110110
}
111111
&--task-event-scrollable-top &__bar{
112+
@media (min-width: 570px) {
113+
top: -80px;
114+
}
112115
@media (min-width: @ff_bp_wide) {
113116
top: 0;
114117
}

0 commit comments

Comments
 (0)