Skip to content

Commit 6aa17db

Browse files
authored
Merge pull request processing#2290 from adityagarg06/fix/text-overflow
fixed about text overflow
2 parents 1d32069 + 93e6f74 commit 6aa17db

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

client/styles/components/_about.scss

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,24 @@
2121
.about__content-column {
2222
display: flex;
2323
flex-direction: column;
24+
margin-left: 15px;
25+
margin-right: 15px;
26+
}
27+
28+
@media (max-width: 768px) {
29+
.about__content {
30+
flex-direction: column;
31+
overflow-y: auto;
32+
overflow-x: hidden;
33+
width: 100%;
34+
margin-right: 15rem;
35+
}
36+
37+
.about__footer {
38+
flex-direction: column;
39+
padding-left: #{20 / $base-font-size}rem;
40+
padding-right: #{20 / $base-font-size}rem;
41+
}
2442
}
2543

2644
.about__content-column-title {
@@ -69,7 +87,7 @@
6987
padding-top: #{18 / $base-font-size}rem;
7088
padding-right: #{20 / $base-font-size}rem;
7189
padding-bottom: #{21 / $base-font-size}rem;
72-
padding-left: #{291 / $base-font-size}rem;
90+
padding-left: #{20 / $base-font-size}rem;
7391
width: 100%;
7492
}
7593

client/styles/components/_overlay.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
flex-wrap: wrap;
2424
flex-flow: column;
2525
max-height: 80%;
26-
max-width: 65%;
2726
position: relative;
2827
padding-bottom: #{25 / $base-font-size}rem;
2928
}

0 commit comments

Comments
 (0)