Skip to content

Commit 93d604b

Browse files
committed
fix: Remove fixed font size from code block styling
1 parent 46c627c commit 93d604b

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

packages/notion-to-jsx/src/components/Renderer/components/Code/styles.css.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ export const codeBlock = style({
88
borderRadius: vars.borderRadius.md,
99
overflow: 'auto',
1010
fontFamily: vars.typography.fontFamily.code,
11-
fontSize: '0.85rem',
1211
lineHeight: vars.typography.lineHeight.relaxed,
1312
margin: `${vars.spacing.sm} 0`,
1413
});

packages/notion-to-utils/src/client/getPageBlocks.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,6 @@ async function fetchBlockChildren(
126126
favicon: `https://www.google.com/s2/favicons?domain=${domain}&sz=64`,
127127
};
128128
} catch (error) {
129-
console.error('북마크 메타데이터 추출 중 오류:', error);
130-
131129
// 오류 발생 시 기본 메타데이터 설정
132130
try {
133131
const domain = new URL(block.bookmark.url).hostname;
@@ -140,7 +138,6 @@ async function fetchBlockChildren(
140138
favicon: `https://www.google.com/s2/favicons?domain=${domain}&sz=64`,
141139
};
142140
} catch (urlError) {
143-
console.error('URL 파싱 중 오류:', urlError);
144141
blockWithChildren.bookmark.metadata = {
145142
title: block.bookmark.url,
146143
description: '',

0 commit comments

Comments
 (0)