Skip to content

Commit 358ea59

Browse files
update style update and last updated
1 parent 10a44a6 commit 358ea59

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

src/styles/CovidAppStyles.js

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default {
2626

2727
[sizes.down("xs")]: {
2828
fontSize: "2rem",
29-
padding: "3rem",
29+
padding: "3rem 1.5rem",
3030
},
3131
},
3232

@@ -38,6 +38,7 @@ export default {
3838
notification: {
3939
fontSize: "3rem",
4040
color: colors.darkPurple,
41+
margin: "1rem",
4142
position: "relative",
4243
transition: "all .4s ease",
4344

@@ -65,6 +66,10 @@ export default {
6566
lastUpdatedTime: {
6667
marginLeft: "1.5rem",
6768
fontSize: "1.5rem",
69+
70+
[sizes.down("sm")]: {
71+
display: "none",
72+
},
6873
},
6974

7075
update: {
@@ -78,6 +83,11 @@ export default {
7883
padding: "3rem",
7984
zIndex: "1",
8085
transition: "all .5s",
86+
87+
[sizes.down("sm")]: {
88+
left: "-18rem",
89+
padding: "1.5rem",
90+
},
8191
},
8292

8393
updateBox: {

src/styles/DarkModeButton.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
}
77

88
.darkModeButton {
9-
margin-left: 2rem;
9+
margin-left: 1.5rem;
1010
}
1111

1212
/* Hide default HTML checkbox */

0 commit comments

Comments
 (0)