Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#3077364 by agami4: Update height of small hero banner for IE #1489

Merged
merged 5 commits into from Sep 30, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 11 additions & 1 deletion themes/socialbase/assets/css/hero.css
Expand Up @@ -58,6 +58,8 @@
align-items: stretch;
}

/* IE11 */

.cover-with-canvas .cover-wrap {
-webkit-box-pack: justify;
-ms-flex-pack: justify;
Expand Down Expand Up @@ -274,5 +276,13 @@
*::-ms-backdrop, .cover-wrap {
height: 410px;
}
/* IE11 */
*::-ms-backdrop, .cover-wrap.small {
height: 206px;
}
*::-ms-backdrop, .paragraph--hero .cover-wrap {
height: 350px;
}
*::-ms-backdrop, .paragraph--hero-small .cover-wrap {
height: 206px;
}
}
11 changes: 10 additions & 1 deletion themes/socialbase/components/04-organisms/hero/hero.scss
Expand Up @@ -70,8 +70,17 @@
}

}


/* IE11 */
@media all and (-ms-high-contrast:none) {
*::-ms-backdrop, .cover-wrap { height: 410px; } /* IE11 */
*::-ms-backdrop, .cover-wrap { height: 410px; }

*::-ms-backdrop, .cover-wrap.small { height: 206px; }

*::-ms-backdrop, .paragraph--hero .cover-wrap { height: 350px; }

*::-ms-backdrop, .paragraph--hero-small .cover-wrap { height: 206px; }
}

// anon homepage hero
Expand Down