Skip to content

Commit

Permalink
Implement PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
rakyi committed Dec 2, 2024
1 parent d04f500 commit ca69b69
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 15 deletions.
1 change: 0 additions & 1 deletion db/model/Gdoc/rawToEnriched.ts
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,6 @@ const parsePerson = (raw: RawBlockPerson): EnrichedBlockPerson => {
}

const parsePeopleRows = (raw: RawBlockPeopleRows): EnrichedBlockPeopleRows => {
console.log("raw", raw.value.people)
return {
type: "people-rows",
columns: raw.value.columns,
Expand Down
13 changes: 1 addition & 12 deletions site/gdocs/components/People.scss
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
.people {
display: flex;
flex-direction: column;
gap: var(--grid-gap);
}

.people-cols-2 {
@include lg-only {
flex-direction: row;
flex-wrap: wrap;

@include md-up {
.article-block__text {
@include body-3-medium;
}

> * {
flex: 0 0 calc(50% - (var(--grid-gap) / 2));
}
}
}
4 changes: 2 additions & 2 deletions site/gdocs/components/People.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ export default function People({
return (
<div
className={cx(
"people",
"people grid-cols-2",
{
"people-cols-2": columns === "2",
"grid-md-cols-1": columns === "2",
},
className
)}
Expand Down

0 comments on commit ca69b69

Please sign in to comment.