Skip to content

Commit 70abde2

Browse files
Style Symptoms page
1 parent 9d6bdb0 commit 70abde2

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

src/components/Symptoms.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,12 @@ class Symptoms extends Component {
6969
></iframe>
7070
</div>
7171
<div>
72-
<h4>Useful Links</h4>
72+
<h3>Useful Links</h3>
7373
<ul className={classes.helpfulLinks}>
7474
<li>
7575
<Link className={classes.link} to="/stay-safe">
7676
Prevention of Coronavirus.
77+
<span>&rarr;</span>
7778
</Link>
7879
</li>
7980
<li>
@@ -84,6 +85,7 @@ class Symptoms extends Component {
8485
rel="noopener noreferrer"
8586
>
8687
Learn more on who.int
88+
<span>&rarr;</span>
8789
</a>
8890
</li>
8991
</ul>

src/styles/SymptomsStyles.js

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export default {
2424
video: {
2525
height: "25rem",
2626
borderRadius: "1rem",
27-
marginBottom: "4rem",
27+
marginBottom: "5rem",
2828
"& iframe": {
2929
display: "block",
3030
overflow: "hidden",
@@ -71,14 +71,20 @@ export default {
7171
},
7272

7373
link: {
74-
transition: "all .2s",
74+
transition: "all .3s",
7575
"&, &:visited": {
7676
textDecoration: "none",
7777
},
7878

79+
"& span": {
80+
marginLeft: ".25rem",
81+
},
82+
7983
"&:hover": {
8084
color: "#000",
81-
marginRight: "2rem",
85+
"& span": {
86+
marginLeft: ".5rem",
87+
},
8288
},
8389
},
8490

0 commit comments

Comments
 (0)