Skip to content

Commit d710979

Browse files
authored
Merge pull request #29 from Han5991/mobile
fix(blog): 스타일 속성 및 불필요한 주석 조정
2 parents db38edd + c66c7bb commit d710979

File tree

3 files changed

+16
-18
lines changed

3 files changed

+16
-18
lines changed

apps/blog/web/panda.config.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@ import { defineConfig } from '@pandacss/dev';
22

33
export default defineConfig({
44
presets: ['@pandacss/dev/presets', '@design-system/ui/preset'],
5-
// Whether to use css reset
65
preflight: true,
76
lightningcss: true,
87

9-
// Where to look for your css declarations
108
include: [
119
'./src/**/*.{js,jsx,ts,tsx}',
1210
'./node_modules/@design-system/ui/src/**/*.{js,jsx,ts,tsx}',

apps/blog/web/src/app/posts/[...slug]/PostClient.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,8 @@ export default function PostClient({ post }: { post: PostData }) {
282282
borderBottomColor: 'blue.200',
283283
transition: 'all 0.2s',
284284
fontWeight: '600',
285+
wordBreak: 'break-all',
286+
overflowWrap: 'break-word',
285287
_hover: {
286288
color: 'blue.700',
287289
borderBottomColor: 'blue.600',

apps/blog/web/src/components/GiscusComments.tsx

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,19 @@ export default function GiscusComments() {
1414
}
1515

1616
return (
17-
<div className={css({ mt: '16', mb: '10' })}>
18-
<Giscus
19-
id="comments"
20-
repo={repo as `${string}/${string}`}
21-
repoId={repoId}
22-
category={category}
23-
categoryId={categoryId}
24-
mapping="pathname"
25-
reactionsEnabled="1"
26-
emitMetadata="0"
27-
inputPosition="top"
28-
theme="preferred_color_scheme"
29-
lang="ko"
30-
loading="lazy"
31-
/>
32-
</div>
17+
<Giscus
18+
id="comments"
19+
repo={repo as `${string}/${string}`}
20+
repoId={repoId}
21+
category={category}
22+
categoryId={categoryId}
23+
mapping="pathname"
24+
reactionsEnabled="1"
25+
emitMetadata="0"
26+
inputPosition="top"
27+
theme="preferred_color_scheme"
28+
lang="ko"
29+
loading="lazy"
30+
/>
3331
);
3432
}

0 commit comments

Comments
 (0)