Skip to content

Commit 3e185e1

Browse files
Merge pull request #247 from HaudinFlorence/update_large_portrait_card_style
Update LargePortraitCard style for desktop design.
2 parents 9ba4d46 + 635ace8 commit 3e185e1

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

src/components/about/LargePortraitCard.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export function Distinction({ person }) {
1111
return (
1212
<div>
1313
{HasPersonDistinction ? (
14-
<ul style={{paddingLeft: "0px"}}>
14+
<ul style={{ paddingLeft: "0px" }}>
1515
{person.distinctionTitle.map((distinction, index) => (
1616
<li className="items-list" key={person.pageName}>
1717
<div>
@@ -48,7 +48,7 @@ export default function LargePortraitCard({ person }) {
4848
</div>
4949
</div>
5050
</div>
51-
<div className="col col--6 col--offset-1">
51+
<div className="col col--7 col--offset-1">
5252
<div className={styles.bio_container}>
5353
<person.BioComponent />
5454
</div>

src/components/about/styles.module.css

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,15 @@ div .row {
5353
margin-right: 0;
5454
}
5555

56-
.bio_container {
56+
.bio_container p {
5757
font-family: var(--ifm-font-family-roboto);
58-
font-size: 14px;
58+
font-size: 16px;
5959
font-style: normal;
6060
font-weight: 400;
6161
line-height: 24px;
6262
letter-spacing: 0.5px;
63-
color: var(--ifm-color-primary-p2);
63+
color: var(--ifm-color-primary-p2);
64+
text-align: justify;
6465
}
6566

6667
.small_card_complete_name {
@@ -261,7 +262,7 @@ div .join_the_team_text {
261262
}
262263

263264
.large_portrait_card {
264-
width: 920px;
265+
width: 976px;
265266
padding: var(--ifm-spacing-xl) var(--ifm-spacing-2xl);
266267
}
267268

static/rss.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

static/rss_all.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)