Skip to content

Commit f117b8f

Browse files
committed
adjust padding
1 parent b8acabb commit f117b8f

File tree

1 file changed

+4
-17
lines changed

1 file changed

+4
-17
lines changed

client/modules/IDE/pages/About.jsx

+4-17
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,10 @@ export const Section = styled.div`
7878
7979
& h3 {
8080
font-size: ${remSize(24)};
81+
padding-bottom: ${remSize(30)};
8182
font-weight: 600;
8283
}
8384
84-
@media (max-width: 1279px) {
85-
& h3 {
86-
padding-bottom: ${remSize(20)};
87-
}
88-
}
89-
9085
@media (max-width: 769px) {
9186
display: grid;
9287
}
@@ -95,14 +90,10 @@ export const Section = styled.div`
9590
export const SectionContainer = styled.div`
9691
display: flex;
9792
justify-content: row;
98-
padding-top: ${remSize(40)};
93+
padding-top: 0;
9994
font-size: ${remSize(16)};
10095
width: 100%;
101-
102-
@media (max-width: 1279px) {
103-
flex-wrap: wrap;
104-
padding-top: 0;
105-
}
96+
flex-wrap: wrap;
10697
10798
@media (max-width: 769px) {
10899
display: grid;
@@ -114,7 +105,7 @@ export const SectionItem = styled.div`
114105
display: flex;
115106
line-height: ${remSize(19.5)};
116107
font-size: ${remSize(14)};
117-
padding-right: ${remSize(30)};
108+
padding: 0 ${remSize(30)} ${remSize(30)} 0;
118109
119110
& p {
120111
margin-top: ${remSize(7)};
@@ -137,12 +128,10 @@ export const SectionItem = styled.div`
137128
138129
@media (max-width: 1279px) {
139130
width: 50%;
140-
padding-bottom: ${remSize(30)};
141131
}
142132
143133
@media (max-width: 769px) {
144134
width: 100%;
145-
padding-bottom: ${remSize(20)};
146135
}
147136
`;
148137

@@ -373,8 +362,6 @@ const About = () => {
373362
<p>{t('About.LinkDescriptions.Report')}</p>
374363
</div>
375364
</SectionItem>
376-
</SectionContainer>
377-
<SectionContainer>
378365
<SectionItem>
379366
<AsteriskIcon aria-hidden="true" focusable="false" />
380367
<div>

0 commit comments

Comments
 (0)