Skip to content

Commit 0876519

Browse files
committed
fix: fix support image styling on index page
We didn't review the change in #1570 thoroughly enough. It caused some issues on the splash page making the sponsor images look enormous.
1 parent 9be07f0 commit 0876519

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/components/Splash/Splash.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ const Splash = () => (
1414
id="src/components/SplashViz/SplashViz.jsx"
1515
component={ SplashViz } />
1616

17-
<div className="splash__section splash__section--dark">
17+
<div className="splash__section splash__section--dark page__content">
1818
<Container>
1919
<div dangerouslySetInnerHTML={{
2020
__html: require('page-loader!../../content/index.md').body
2121
}} />
2222
</Container>
2323
</div>
2424

25-
<div className="splash__section">
25+
<div className="splash__section page__content">
2626
<Container>
2727
<h1>Support the Team</h1>
2828

src/styles/markdown.scss

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
@import 'functions';
44
@import 'prism-theme';
55

6-
.page__content,
7-
.splash__section {
6+
.page__content {
87
line-height:1.5em;
98

109
h1 { font-size: getFontSize(4); }
@@ -240,7 +239,7 @@
240239
}
241240
}
242241

243-
img {
242+
img:not([class*="support__"]) {
244243
max-width: 100%;
245244
height: auto;
246245
}

0 commit comments

Comments
 (0)