PM-14044: Update generator line breaks to account for padding on both sides (#4187)

This commit is contained in:
David Perez
2024-10-29 16:20:44 -05:00
committed by GitHub
parent a5e57f1836
commit 6f26ae50ea

View File

@@ -72,7 +72,7 @@ fun BitwardenTextField(
val formattedText = if (shouldAddCustomLineBreaks) {
value.withLineBreaksAtWidth(
// Adjust for built in padding
widthPx = widthPx - 16.dp.toPx(),
widthPx = widthPx - 32.dp.toPx(),
monospacedTextStyle = textStyle,
)
} else {