Skip to content

Commit

Permalink
SUL23-423 adjust grid column sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
pookmish committed Mar 4, 2024
1 parent 4376c94 commit 07de68b
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 28 deletions.
1 change: 0 additions & 1 deletion app/sitemap.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import {MetadataRoute} from "next";
import {graphqlClient} from "@/lib/gql/fetcher";
import {headers} from "next/headers";
import {NodeUnion} from "@/lib/gql/__generated__/drupal.d";

// https://nextjs.org/docs/app/api-reference/file-conventions/route-segment-config
Expand Down
42 changes: 21 additions & 21 deletions src/lib/gql/__generated__/drupal.d.ts

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/lib/gql/__generated__/queries.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions src/lib/gql/fragments.drupal.gql
Original file line number Diff line number Diff line change
Expand Up @@ -629,8 +629,7 @@ fragment FragmentParagraphStanfordMediaCaption on ParagraphStanfordMediaCaption
...FragmentMediaUnion
}
suMediaCaptionLink {
url
title
...FragmentLink
}
suMediaCaptionCaption {
processed
Expand Down
3 changes: 2 additions & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ for (i = 1; i <= 4; i++) {
twoColumn[`1-${i}`] = `1fr ${i}fr`;
twoColumn[`${i}-1`] = `${i}fr 1fr`;
}

twoColumn['1-1'] = 'repeat(2, minmax(0, 1fr))'
for (i = 1; i <= 4; i++) {
threeColumn[`${i}-1-1`] = `${i}fr 1fr 1fr`;
threeColumn[`1-${i}-1`] = `1fr ${i}fr 1fr`;
threeColumn[`1-1-${i}`] = `1fr 1fr ${i}fr`;
}
threeColumn['1-1-1'] = 'repeat(3, minmax(0, 1fr))'

const path = require('path');

Expand Down

0 comments on commit 07de68b

Please sign in to comment.