Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

Commit

Permalink
Merge pull request #189 from Wikia/XW-4088-dev
Browse files Browse the repository at this point in the history
XW-4088 | fix for FV on scroll behaviour when smartbanner is visible
  • Loading branch information
latata committed Oct 9, 2017
2 parents 2dacc1c + 62dd670 commit ec80934
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/styles/_wikia-variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ $vertical-colors: (
// Smart banner
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
$smart-banner-android-height: rem-calc(66);
$fandom-app-smart-banner-height: 85px;

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Site head
Expand Down
11 changes: 11 additions & 0 deletions app/styles/component/_article-featured-video.scss
Original file line number Diff line number Diff line change
Expand Up @@ -258,3 +258,14 @@ $small-thumbnail-height: 56px;
}
}
}

.with-fandom-app-smart-banner {
.article-featured-video {
&.is-fixed {
.article-featured-video__container {
top: $wds-global-navigation-height + $fandom-app-smart-banner-height;
z-index: $z-site-head - 3;
}
}
}
}
2 changes: 1 addition & 1 deletion app/styles/component/_fandom-app-smart-banner.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
background: $wds-fandom-color-light-gray;
background-size: auto 100%;
display: flex;
height: 85px;
height: $fandom-app-smart-banner-height;
justify-content: flex-start;
width: 100%;
// one less than drawer as it cannot be visible when drawer opens
Expand Down

0 comments on commit ec80934

Please sign in to comment.