There was an error while loading. Please reload this page.
1 parent 886f53c commit a1e5875Copy full SHA for a1e5875
1 file changed
src/components/tabs/custom/add-tweak-form.tsx
@@ -8,7 +8,6 @@ import {
8
Group,
9
NativeSelect,
10
Stack,
11
- Text,
12
Textarea,
13
TextInput,
14
Title,
@@ -149,9 +148,22 @@ export const AddTweakForm: React.FC = () => {
149
148
/>
150
151
{preview && (
152
- <Text size='sm' c='dimmed'>
153
- Preview (first line): <code>{preview}</code>
154
- </Text>
+ <Textarea
+ label='Preview (decoded first line)'
+ value={preview}
+ readOnly
155
+ disabled
156
+ autosize
157
+ minRows={2}
158
+ maxRows={3}
159
+ style={{ flex: 1 }}
160
+ styles={{
161
+ input: {
162
+ fontFamily: 'monospace',
163
+ fontSize: '12px',
164
+ },
165
+ }}
166
+ />
167
)}
168
169
{error && (
0 commit comments