Skip to content

Commit

Permalink
DIGG-218: Max width on images and accordions for containers
Browse files Browse the repository at this point in the history
  • Loading branch information
Alessandro Gasperini authored and Alessandro Gasperini committed Jan 19, 2024
1 parent 6f2e245 commit 18632e7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/content/blocks/BlockList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const handleFaqs = (blocks: blockListProps["blocks"], pos: number) => {

return (
<ul
className="divide-y divide-brown-200 border-y border-brown-200"
className="max-w-md divide-y divide-brown-200 border-y border-brown-200"
key={`content-${pos}-${faqGroup[0].id}`}
>
{faqGroup.map((faq, idx: number) => (
Expand Down
2 changes: 1 addition & 1 deletion components/content/blocks/MediaBlock/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const renderMedia = (
return null;
}
return (
<figure className="border-b border-brown-200 pb-sm">
<figure className="max-w-md border-b border-brown-200 pb-sm">
<CustomImage image={media} className="pb-sm" />
{mediaDescription && (
<figcaption className="text-brown-600">
Expand Down
2 changes: 1 addition & 1 deletion components/navigation/MainNav/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const MainNav: FC<MainNavProps> = ({ setOpenSideBar, openSideBar }) => {
} [&_div_div_button]:bg-brown-800 last:hover:[&_div_div_button]:bg-brown-900 focus-visible:[&_div_div_button]:-outline-offset-2 focus-visible:[&_div_div_button]:outline-white`
: "w-none overflow-hidden"
}`}
action={lang + "/search"}
action={`/${lang}/search`}
>
<SearchInput
id="header-search"
Expand Down

0 comments on commit 18632e7

Please sign in to comment.