Skip to content

Commit

Permalink
PM-14044: Update generator line breaks to account for padding on both…
Browse files Browse the repository at this point in the history
… sides (#4187)
  • Loading branch information
david-livefront authored Oct 29, 2024
1 parent a5e57f1 commit 6f26ae5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 6f26ae5

Please sign in to comment.