Skip to content

Commit b3fe152

Browse files
minor changes
1 parent bac9289 commit b3fe152

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

src/components/CovidApp.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,12 @@ class CovidApp extends Component {
189189
onClick={this.handleNotification}
190190
/>
191191
) : (
192-
<FontAwesomeIcon
193-
icon={faBell}
194-
onClick={this.handleNotification}
195-
/>
192+
<div className={classes.notificationBell}>
193+
<FontAwesomeIcon
194+
icon={faBell}
195+
onClick={this.handleNotification}
196+
/>
197+
</div>
196198
)}
197199
</div>
198200
<div className={classes.update}>{expanded && displayUpdates}</div>

src/styles/CovidAppStyles.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ export default {
4040
color: colors.darkPurple,
4141
position: "relative",
4242
transition: "all .5s ease",
43+
},
44+
45+
notificationBell: {
46+
position: "relative",
4347

4448
"&::before": {
4549
content: '""',

0 commit comments

Comments
 (0)