mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-06-29 17:20:30 +01:00
fix: text ui scaling
Made text UI scaling follow OS level scailing to a limit to stop overlapping issues Signed-off-by: Lance Chant <13349722+lancechant@users.noreply.github.com>
This commit is contained in:
@@ -27,7 +27,7 @@ export function Input(props: InputProps) {
|
||||
${isFocused ? "bg-neutral-700 border-2 border-white" : "bg-neutral-900 border-2 border-transparent"}
|
||||
text-white ${extraClassName}
|
||||
`}
|
||||
allowFontScaling={false}
|
||||
maxFontSizeMultiplier={1.2}
|
||||
style={[
|
||||
style,
|
||||
{
|
||||
@@ -45,7 +45,7 @@ export function Input(props: InputProps) {
|
||||
<TextInput
|
||||
ref={inputRef}
|
||||
className='p-4 rounded-xl bg-neutral-900'
|
||||
allowFontScaling={false}
|
||||
maxFontSizeMultiplier={1.2}
|
||||
style={[{ color: "white" }, style]}
|
||||
placeholderTextColor={"#9CA3AF"}
|
||||
clearButtonMode='while-editing'
|
||||
|
||||
Reference in New Issue
Block a user