Skip to content

Commit

Permalink
fix: fixed some layouts issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ovflowd committed Dec 1, 2023
1 parent 5e4852e commit 7083065
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions components/Common/Sidebar/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
}

> div {
@apply w-full
sm:hidden;
@apply hidden
w-full xs:flex;
}
}
5 changes: 4 additions & 1 deletion layouts/New/layouts.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@
}

.articleLayout {
@apply grid
@apply m-[0_auto]
grid
grid-rows-[1fr]
overflow-hidden
grid-areas-[sidebar_main_metabar,sidebar_footer_metabar]
sm:grid-cols-[200px_1fr_200px]
xl:grid-cols-[320px_1fr_320px]
xs:m-0
xs:block
xs:overflow-auto;

Expand All @@ -23,6 +25,7 @@
> *:nth-child(2) {
@apply flex
w-full
max-w-5xl
flex-col
items-start
gap-6
Expand Down
3 changes: 1 addition & 2 deletions styles/new/markdown.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
}

h5,
h6,
strong {
h6 {
@apply text-base;
}

Expand Down
2 changes: 1 addition & 1 deletion tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export default {
'ibm-plex-mono': ['var(--font-ibm-plex-mono)'],
},
extend: {
screens: { xs: { max: '639px' } },
screens: { xs: { max: '670px' } },
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
'gradient-subtle':
Expand Down

0 comments on commit 7083065

Please sign in to comment.