Skip to content

Commit 59befe4

Browse files
committed
fix: editor setting width
1 parent df23b28 commit 59befe4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/views/admin/settings/SettingsView.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ const SettingsView: FC = () => {
306306
</Box>
307307
</Stack>
308308
<Stack direction="row" spacing={1}>
309-
<Stack flex={1}>
309+
<Stack flex={1} width="50%">
310310
<FormLabel>{t('Old Code')}</FormLabel>
311311
<CodeEditor
312312
id={SETTING_DIFF_VIEW_OLD_CODE_CY}
@@ -319,7 +319,7 @@ const SettingsView: FC = () => {
319319
}
320320
/>
321321
</Stack>
322-
<Stack flex={1}>
322+
<Stack flex={1} width="50%">
323323
<FormLabel>{t('New Code')}</FormLabel>
324324
<CodeEditor
325325
id={SETTING_DIFF_VIEW_NEW_CODE_CY}

src/data/db.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import {
1919
export const mockContext: LocalContext = {
2020
apiHost: REACT_APP_API_HOST,
2121
permission: 'admin',
22-
context: 'player',
22+
context: 'builder',
2323
itemId: '1234-1234-123456-8123-123456',
2424
memberId: 'mock-member-id',
2525
};

0 commit comments

Comments
 (0)