Skip to content

Commit 47f4e27

Browse files
authored
fix grid class
1 parent 6ec407d commit 47f4e27

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

apps/site/components/Downloads/Release/ReleaseCodeBox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ const ReleaseCodeBox: FC = () => {
9494
} = currentPlatform ?? {};
9595

9696
return (
97-
<div className="mb-6 mt-4 flex flex-col gap-2">
97+
<div className="mt-4 mb-6 flex flex-col gap-2">
9898
<noscript>
9999
<AlertBox
100100
title={t('components.common.alertBox.warning')}

apps/site/components/__design__/font-family.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { Meta as MetaObj, StoryObj } from '@storybook/react';
22

33
export const FontFamily: StoryObj = {
44
render: () => (
5-
<div className="align-center ga-1 w-100 flex h-full flex-row flex-wrap justify-start">
5+
<div className="align-center ga-1 flex h-full w-100 flex-row flex-wrap justify-start">
66
<div>
77
<p className="font-regular text-xs">Text XS/Regular</p>
88
<p className="text-xs font-medium">Text XS/Medium</p>

apps/site/layouts/layouts.module.css

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,21 @@
1111

1212
.articleLayout {
1313
@apply max-w-8xl
14-
sm:grid-areas-[sidebar_main,sidebar_footer]
15-
lg:grid-areas-[sidebar_main_metabar,sidebar_footer_metabar]
1614
mx-auto
1715
block
1816
w-full
1917
sm:grid
2018
sm:grid-cols-[theme(spacing.52)_1fr]
2119
sm:grid-rows-[1fr]
2220
sm:overflow-visible
21+
sm:[grid-template-areas:'sidebar_main''sidebar_footer']
2322
md:grid-cols-[theme(spacing.64)_1fr]
2423
lg:grid-cols-[theme(spacing.52)_1fr_theme(spacing.52)]
24+
lg:[grid-template-areas:'sidebar_main_metabar''sidebar_footer_metabar']
2525
xl:grid-cols-[theme(spacing.80)_1fr_theme(spacing.80)];
2626

2727
> *:nth-child(1) {
28-
@apply grid-in-[sidebar]
28+
@apply [grid-area:'sidebar']
2929
lg:sticky
3030
lg:top-0
3131
lg:h-[100vh]
@@ -37,20 +37,20 @@
3737
sm:max-lg:block;
3838

3939
> *:first-child {
40-
@apply grid-in-[main]
41-
sm:bg-gradient-subtle
40+
@apply sm:bg-gradient-subtle
4241
sm:dark:bg-gradient-subtle-dark
4342
p-4
43+
[grid-area:'main']
4444
motion-safe:scroll-smooth
4545
sm:bg-fixed
4646
sm:p-12
4747
xl:px-18;
4848
}
4949

5050
> *:last-child {
51-
@apply grid-in-[metabar]
52-
mt-8
51+
@apply mt-8
5352
border-t
53+
[grid-area:'metabar']
5454
sm:mt-0
5555
lg:sticky
5656
lg:top-0
@@ -61,8 +61,7 @@
6161
}
6262

6363
> *:nth-child(3) {
64-
@apply grid-in-[footer]
65-
sticky
64+
@apply sticky
6665
bottom-0
6766
flex
6867
w-full
@@ -73,6 +72,7 @@
7372
border-t-neutral-200
7473
bg-white
7574
py-4
75+
[grid-area:'footer']
7676
dark:border-t-neutral-900
7777
dark:bg-neutral-950;
7878
}

apps/site/styles/locals.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* managed to avoid disrupting the layout.
55
*/
66
html[lang='ko'] {
7-
@apply break-words
8-
break-keep
9-
leading-7;
7+
@apply leading-7
8+
break-words
9+
break-keep;
1010
}

0 commit comments

Comments
 (0)