Skip to content

Commit e771db6

Browse files
committed
refactor: adjust spacing and syntax in style file
1 parent 7759572 commit e771db6

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

client/modules/About/About.styles.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ export const AboutPageContent = styled.div`
77
@media (max-width: 1279px) {
88
margin: ${remSize(20)};
99
width: 95%;
10-
overflow-y: auto;
11-
overflow-x: hidden;
10+
overflow: hidden auto;
1211
flex-direction: column;
1312
}
1413
`;
@@ -27,6 +26,7 @@ export const Intro = styled.div`
2726
align-items: center;
2827
width: ${remSize(110)};
2928
justify-content: space-evenly;
29+
3030
&:hover {
3131
color: ${prop('Button.primary.default.background')};
3232
background-color: ${prop('Button.primary.hover.background')};
@@ -121,6 +121,7 @@ export const SectionItem = styled.div`
121121
& a {
122122
font-weight: 700;
123123
font-size: ${remSize(16)};
124+
124125
&:hover {
125126
text-decoration: underline;
126127
}
@@ -130,6 +131,7 @@ export const SectionItem = styled.div`
130131
padding-right: ${remSize(8)};
131132
width: ${remSize(30)};
132133
height: ${remSize(20)};
134+
133135
& path {
134136
fill: ${prop('logoColor')};
135137
stroke: ${prop('logoColor')};
@@ -174,6 +176,7 @@ export const ContactHandles = styled.p`
174176
175177
& a {
176178
color: ${prop('logoColor')};
179+
177180
&:hover {
178181
text-decoration: underline;
179182
}
@@ -186,8 +189,7 @@ export const ContactHandles = styled.p`
186189

187190
export const Footer = styled.div`
188191
border-top: 0.1rem dashed;
189-
padding-right: ${remSize(20)};
190-
padding-bottom: ${remSize(70)};
192+
padding: 0 ${remSize(20)} ${remSize(70)} 0;
191193
width: 100%;
192194
font-size: ${remSize(16)};
193195
@@ -198,23 +200,21 @@ export const Footer = styled.div`
198200
}
199201
200202
& a {
201-
padding-top: ${remSize(20)};
202-
padding-right: 9.5%;
203+
padding: ${remSize(20)} 9.5% 0 0;
203204
color: ${prop('logoColor')};
205+
204206
&:hover {
205207
text-decoration: underline;
206208
}
207209
}
208210
209211
& p {
210-
padding-top: ${remSize(20)};
211-
padding-right: 9.5%;
212+
padding: ${remSize(20)} 9.5% 0 0;
212213
}
213214
214215
@media (max-width: 770px) {
215216
flex-direction: column;
216-
padding-left: ${remSize(20)};
217-
padding-right: ${remSize(20)};
217+
padding: 0 ${remSize(20)};
218218
}
219219
220220
@media (max-width: 550px) {

0 commit comments

Comments
 (0)