Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(docs): wrong image sizes in megamenu #63

Merged
merged 1 commit into from
Feb 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions apps/docs/src/components/LemonSqueezyHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -196,10 +196,10 @@ function ResourcesDropdown({ caseStudy, blog }: { caseStudy: WebflowData; blog:
];

return (
<div className="container">
<div className="container !w-[calc(100%+40px)] 2xl:!max-w-7xl">
<div className="grid grid-cols-3">
{/* ----------------------------- Helpful Links ----------------------------- */}
<Navigation.DropdownColumn className="-ml-4 pl-0">
<Navigation.DropdownColumn className="-ml-4 pl-0 2xl:ml-6">
<Navigation.DropdownTitle label="Helpful Links" id="dropdown-menu__helpful-links" />

{links.map(({ label, description, href }, index) => (
Expand Down Expand Up @@ -232,7 +232,7 @@ function ResourcesDropdown({ caseStudy, blog }: { caseStudy: WebflowData; blog:
</Navigation.DropdownColumn>

{/* ----------------------------- Blog Articles ---------------------------- */}
<Navigation.DropdownColumn className="-mr-4 place-content-start border-none pr-0">
<Navigation.DropdownColumn className="place-content-start border-none">
<Navigation.DropdownTitle
buttonHref="https://www.lemonsqueezy.com/blog"
buttonLabel="All articles"
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/components/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ const NavDropdownTitle = forwardRef<HTMLDivElement, NavDropdownTitleProps>(
({ label, buttonHref, buttonLabel, ...otherProps }, ref) => {
return (
<div
className="mx-4 mb-4 flex items-center justify-between gap-3 text-sm"
className="mx-4 mb-4 flex shrink-0 flex-wrap items-center justify-between gap-3 text-sm"
ref={ref}
{...otherProps}
>
Expand Down
4 changes: 4 additions & 0 deletions apps/docs/tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ const config: Config = {
darkMode: "class",
theme: {
extend: {
screens: {
"2xl": "82rem",
},
typography: {
DEFAULT: {
css: {
Expand Down Expand Up @@ -62,6 +65,7 @@ const config: Config = {
},

maxWidth: {
"7xl": "82rem",
"8xl": "88rem",
"9xl": "96rem",
"10xl": "102rem",
Expand Down
Loading