Skip to content

Commit

Permalink
Merge pull request #193 from trungleduc/fix-layout
Browse files Browse the repository at this point in the history
Remove extra horizontal scrollbar
  • Loading branch information
SylvainCorlay authored Jan 17, 2025
2 parents 59e2860 + 42ed1ac commit f3ffcc8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/about/LargePortraitCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import Avatar from "./Avatar";
export function Distinction({ person }) {
if (person.distinctionTitle.length !== 0) {
return person.distinctionTitle.map((distinction, index) => (
<div>
<div key={index}>
<Link href={person.distinctionLink[index]}>
<DistinctionIcon className={styles.distinction_icon} />
{distinction}
Expand Down
8 changes: 7 additions & 1 deletion src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
--ifm-spacing-7xl: 240px;
--ifm-spacing-8xl: 400px;

--ifm-navbar-item-padding-horizontal: 2px
--ifm-navbar-item-padding-horizontal: 2px;
}

.flex-full-centered {
Expand Down Expand Up @@ -684,3 +684,9 @@ ul.row {
margin-left: 0;
width: 100%;
}

.row {
display: flex;
flex-wrap: wrap;
margin: 0 0;
}

0 comments on commit f3ffcc8

Please sign in to comment.