mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-20 15:23:50 +02:00
fix styles
This commit is contained in:
@@ -68,7 +68,7 @@
|
||||
const lineHeight = parseFloat(computedStyle.lineHeight) || 16;
|
||||
const paddingTop = parseFloat(computedStyle.paddingTop) || 0;
|
||||
const paddingBottom = parseFloat(computedStyle.paddingBottom) || 0;
|
||||
const minRows = autosizeConfig.value.minRows ?? Number(attrs.rows) || 1;
|
||||
const minRows = autosizeConfig.value.minRows ?? (Number(attrs.rows) || 1);
|
||||
const maxRows = autosizeConfig.value.maxRows ?? Number.POSITIVE_INFINITY;
|
||||
const minHeight = lineHeight * minRows + paddingTop + paddingBottom;
|
||||
const maxHeight = lineHeight * maxRows + paddingTop + paddingBottom;
|
||||
|
||||
Reference in New Issue
Block a user