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',
|
backgroundColor: 'transparent',
|
||||||
height: '100%',
|
height: '100%',
|
||||||
}}
|
}}
|
||||||
className="w-full h-full"
|
className="w-full h-full !text-sm"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -73,7 +73,7 @@ export default function EditJsonMCPserver({
|
|||||||
fontFamily: 'ui-monospace',
|
fontFamily: 'ui-monospace',
|
||||||
backgroundColor: 'transparent',
|
backgroundColor: 'transparent',
|
||||||
}}
|
}}
|
||||||
className="w-full "
|
className="w-full !text-sm "
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
{error && <div className="text-destructive text-sm">{error}</div>}
|
{error && <div className="text-destructive text-sm">{error}</div>}
|
||||||
|
|||||||
@ -22,6 +22,7 @@
|
|||||||
--color-destructive-fg: var(--app-destructive-fg);
|
--color-destructive-fg: var(--app-destructive-fg);
|
||||||
|
|
||||||
/* Font scale based on --font-size-base */
|
/* 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-sm: calc(var(--font-size-base) * 0.875); /* ~14px */
|
||||||
--text-base: var(--font-size-base); /* ~16px */
|
--text-base: var(--font-size-base); /* ~16px */
|
||||||
--text-lg: calc(var(--font-size-base) * 1.125); /* ~18px */
|
--text-lg: calc(var(--font-size-base) * 1.125); /* ~18px */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user