fix: text component scaling (#5090)
* fix: text component scaling * chore: update scaling text xs to 0.75
This commit is contained in:
parent
3443c42947
commit
a29152aa76
@ -358,7 +358,7 @@ export const ThreadContent = memo(
|
||||
backgroundColor: 'transparent',
|
||||
height: '100%',
|
||||
}}
|
||||
className="w-full h-full"
|
||||
className="w-full h-full !text-sm"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -73,7 +73,7 @@ export default function EditJsonMCPserver({
|
||||
fontFamily: 'ui-monospace',
|
||||
backgroundColor: 'transparent',
|
||||
}}
|
||||
className="w-full "
|
||||
className="w-full !text-sm "
|
||||
/>
|
||||
</div>
|
||||
{error && <div className="text-destructive text-sm">{error}</div>}
|
||||
|
||||
@ -22,6 +22,7 @@
|
||||
--color-destructive-fg: var(--app-destructive-fg);
|
||||
|
||||
/* Font scale based on --font-size-base */
|
||||
--text-xs: calc(var(--font-size-base) * 0.75); /* ~12px */
|
||||
--text-sm: calc(var(--font-size-base) * 0.875); /* ~14px */
|
||||
--text-base: var(--font-size-base); /* ~16px */
|
||||
--text-lg: calc(var(--font-size-base) * 1.125); /* ~18px */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user