Skip to content

Commit bd6ebe6

Browse files
committed
fix(ui): unify code font size in CodePanel and update deploy workflow
1 parent 8b60c30 commit bd6ebe6

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: 📥 Checkout repository
1717
uses: actions/checkout@v4
1818

19-
- name: 🟦 Set up Node.js
19+
- name: 🟩 Set up Node.js
2020
uses: actions/setup-node@v4
2121
with:
2222
node-version: '18'

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ node_modules
66
.cursor/
77
*.log
88
/backend/coverage
9+
.vscode
10+
.idea

frontend/src/components/ui/CodePanel.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ const CodePanel: React.FC<CodePanelPropsWithTooltips> = ({
264264
value={safeCode}
265265
onChange={handleCodeChange}
266266
className="w-full h-full min-h-[20rem] bg-gray-900/50 text-gray-100 font-mono text-sm leading-relaxed p-4 rounded-lg border border-gray-600 focus:border-blue-500 focus:outline-none resize-none"
267+
style={{ fontSize: 14 }}
267268
placeholder={`// Enter your ${stack} code here...\n// You can edit this code directly and then convert it to another framework`}
268269
spellCheck={false}
269270
/>
@@ -312,6 +313,7 @@ const CodePanel: React.FC<CodePanelPropsWithTooltips> = ({
312313
value={safeCode}
313314
onChange={handleCodeChange}
314315
className="w-full h-full min-h-[20rem] bg-gray-900/50 text-gray-100 font-mono text-sm leading-relaxed p-4 rounded-lg border border-gray-600 focus:border-blue-500 focus:outline-none resize-none"
316+
style={{ fontSize: 13 }}
315317
placeholder={`// Enter your ${stack} code here...\n// You can edit this code directly and then convert it to another framework`}
316318
spellCheck={false}
317319
/>

0 commit comments

Comments
 (0)