Skip to content

Commit f3ffcc8

Browse files
Merge pull request #193 from trungleduc/fix-layout
Remove extra horizontal scrollbar
2 parents 59e2860 + 42ed1ac commit f3ffcc8

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/components/about/LargePortraitCard.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import Avatar from "./Avatar";
88
export function Distinction({ person }) {
99
if (person.distinctionTitle.length !== 0) {
1010
return person.distinctionTitle.map((distinction, index) => (
11-
<div>
11+
<div key={index}>
1212
<Link href={person.distinctionLink[index]}>
1313
<DistinctionIcon className={styles.distinction_icon} />
1414
{distinction}

src/css/custom.css

+7-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
--ifm-spacing-7xl: 240px;
6363
--ifm-spacing-8xl: 400px;
6464

65-
--ifm-navbar-item-padding-horizontal: 2px
65+
--ifm-navbar-item-padding-horizontal: 2px;
6666
}
6767

6868
.flex-full-centered {
@@ -684,3 +684,9 @@ ul.row {
684684
margin-left: 0;
685685
width: 100%;
686686
}
687+
688+
.row {
689+
display: flex;
690+
flex-wrap: wrap;
691+
margin: 0 0;
692+
}

0 commit comments

Comments
 (0)