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(channel): add more elements per row on bigger screens #21

Merged
merged 1 commit into from
Jan 7, 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: 5 additions & 1 deletion src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,11 @@ export default function MyApp({ Component, pageProps }: AppProps) {
md: "64em",
lg: "74em",
xl: "90em",
xxl: "100em"
xxl: "100em",
"3xl": "116em",
"4xl": "130em",
"5xl": "146em",
"6xl": "160em"
},
components: {
Container: Container.extend({
Expand Down
2 changes: 1 addition & 1 deletion src/pages/channels/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const ChannelsPage = () => {
<div>
<Container fluid={true}>
<div style={{ marginTop: "1rem" }}>
<SimpleGrid cols={{ base: 1, sm: 4, md: 5, lg: 6 }} spacing="xs" verticalSpacing="xs">
<SimpleGrid cols={{ base: 1, sm: 4, md: 5, lg: 6, xl: 7, xxl: 8, "3xl": 9, "4xl": 10, "5xl": 11, "6xl": 12 }} spacing="xs" verticalSpacing="xs">
{data.map((channel: any) => (
<ChannelCard channel={channel} key={channel.id}></ChannelCard>
))}
Expand Down