Skip to content

Commit 729113a

Browse files
authored
Merge pull request #1065 from webpack/fix-cutoff-sponsors-bar
Hide Sponsors Bar on Smaller Screens
2 parents 64b1fe9 + cd27eb2 commit 729113a

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

components/sponsors/sponsors-style.scss

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
@import 'functions';
2+
@import 'mixins';
23

34
.sponsors {
45
position: fixed;
5-
display: flex;
6+
display: none;
67
width: 250px;
78
margin-top: 1.5em;
89
margin-left: calc(-250px - 1.5em);
@@ -18,4 +19,8 @@
1819
&:hover {
1920
background-color: getColor(concrete);
2021
}
22+
23+
@include break(xlarge) {
24+
display: flex;
25+
}
2126
}

styles/partials/_vars.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ $colors: (
1313
);
1414

1515
$screens: (
16+
xlarge: 1525px,
1617
large: 1024px,
1718
medium: 768px
1819
);

0 commit comments

Comments
 (0)