Skip to content

Commit cd982ef

Browse files
authored
Fix formatting of contributors page on Safari (#1865)
* Remove text-align-last * Justify contributors description section
1 parent c494420 commit cd982ef

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/pages/contributors/subcomponents/ContributorsDetails.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class ContributorsDetails extends React.Component {
1212
<div className="outsideDetails">
1313
<Card className="contributorsDetails" elevation={Elevation.ONE}>
1414
<H3>The Team behind the Source Academy</H3>
15-
<p>
15+
<p className="description">
1616
The <i>Source Academy</i> is designed and developed by a team of students, most of who
1717
have used the system to learn the fundamentals of computing and enjoyed it. This page
1818
includes all developers who contributed to the Source Academy <i>Rook</i> (2022) and its

src/styles/_contributors.scss

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,15 @@
4242
}
4343

4444
p {
45-
text-align: justify;
46-
text-align-last: center;
4745
margin-right: 0.5%;
4846
margin-left: 0.5%;
4947
}
5048

49+
p.description {
50+
text-align: justify;
51+
text-align-last: center;
52+
}
53+
5154
span.dot {
5255
padding: 0 0.2rem 0 0.2rem;
5356
}

0 commit comments

Comments
 (0)