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: prevent header text appear as two lines #203

Merged
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
4 changes: 2 additions & 2 deletions src/components/Header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ export default async function Header() {

return (
<>
<HeaderClient data={headerData} className="hidden md:block" />
<HeaderMobileClient data={headerData} className="md:hidden" />
<HeaderClient data={headerData} className="hidden lg-xl:block" />
<HeaderMobileClient data={headerData} className="lg-xl:hidden" />
</>
);
}
1 change: 1 addition & 0 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const config: Config = {
// so a custom breakpoint was created to overwrite it
// and now a CSS pattern can be applied with this breakpoint.
'md-lg': '1169px',
'lg-xl': '1300px',
},
},
},
Expand Down