Skip to content

Commit edd147d

Browse files
Fix style issues on large portrait cards.
1 parent 0f89659 commit edd147d

File tree

3 files changed

+16
-8
lines changed

3 files changed

+16
-8
lines changed

src/components/about/LargePortraitCard.tsx

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ import Link from "@docusaurus/Link";
55
import React from "react";
66
import Avatar from "./Avatar";
77

8-
9-
108
export function Distinction({ person }) {
119
if (person.distinctionTitle.length !== 0) {
1210
return (
@@ -33,10 +31,20 @@ export default function LargePortraitCard({ person }) {
3331
<div className={"container"}>
3432
<div className={"row padding-none"}>
3533
<div className="col col--12 col--offset-1">
36-
<div className={styles.large_card_complete_name}>
34+
<div
35+
className={
36+
"flex-full-centered" + " " + styles.large_card_complete_name
37+
}
38+
>
3739
{person.completeName}
3840
</div>
39-
<div className={styles.large_card_position}>{person.position}</div>
41+
<div
42+
className={
43+
"flex-full-centered" + " " + styles.large_card_position
44+
}
45+
>
46+
{person.position}
47+
</div>
4048
</div>
4149
</div>
4250
<div className="row">

src/components/about/styles.module.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ div .row {
2727

2828
.bio_container {
2929
font-family: var(--ifm-font-family-roboto);
30-
font-size: 16px;
30+
font-size: 14px;
3131
font-style: normal;
3232
font-weight: 400;
3333
line-height: 24px;
@@ -59,7 +59,7 @@ div .row {
5959

6060
.large_card_complete_name {
6161
font-family: var(--ifm-font-family-roboto);
62-
font-size: 32px;
62+
font-size: 28px;
6363
color: var(---ifm-text-color);
6464
font-style: normal;
6565
font-weight: 400;

src/components/home/Hero/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ export function Hero() {
2828
styles.astronaut_column
2929
}
3030
>
31-
<div className={styles.astronaut_container}>
31+
3232
<Astronaut alt={"Astronaut mascot of QuantStack"} />
33-
</div>
33+
3434
</div>
3535
</div>
3636
</div>

0 commit comments

Comments
 (0)