[PR #5634] [fix] Adjust modal styles and text wrapping in TransactionError #13097

Closed
opened 2026-04-10 21:47:11 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/actualbudget/actual/pull/5634

State: closed
Merged: Yes


Context

The transactionError modal was displaying its content across two lines due to insufficient width constraints.

Summary of Changes

  • Updated the style property of the modal to set maxWidth and minWidth.
  • Added whiteSpace: 'nowrap' to the Text component inside the TransactionError to ensure the text remains on a single line.

How to test

  • Create a split transaction.
  • Modify the transaction value so that the amount is less than the total value.
  • Confirm that the modal's width adjusts within the defined constraints.
from to
Capture d’écran 2025-08-24 à 11 27 45 Capture d’écran 2025-08-24 à 11 29 00
**Original Pull Request:** https://github.com/actualbudget/actual/pull/5634 **State:** closed **Merged:** Yes --- ## Context The transactionError modal was displaying its content across two lines due to insufficient width constraints. ## Summary of Changes - Updated the `style` property of the modal to set `maxWidth` and `minWidth`. - Added `whiteSpace: 'nowrap'` to the `Text` component inside the `TransactionError` to ensure the text remains on a single line. ## How to test - Create a split transaction. - Modify the transaction value so that the amount is less than the total value. - Confirm that the modal's width adjusts within the defined constraints. |from|to| |--|--| | <img width="684" height="111" alt="Capture d’écran 2025-08-24 à 11 27 45" src="https://github.com/user-attachments/assets/cd2de29e-f5da-4727-a83f-785641b28305" /> | <img width="684" height="327" alt="Capture d’écran 2025-08-24 à 11 29 00" src="https://github.com/user-attachments/assets/f3396a79-9fa5-41c6-87a0-1b6928adc1f5" /> |
GiteaMirror added the pull-request label 2026-04-10 21:47:11 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#13097