mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-09 03:32:54 -05:00
Mobile rules item alignment (#7081)
* [AI] Fix mobile rules list items to be full width and left-aligned - Override Button's default justifyContent/alignItems centering in ActionableGridListItem to use flex-start alignment - Add width: 100% to RulesListItem's SpaceBetween to fill the item width Co-authored-by: Matiss Janis Aboltins <MatissJanis@users.noreply.github.com> * Add release notes for PR #7081 * Change category from Enhancements to Bugfix --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Matiss Janis Aboltins <MatissJanis@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
032d10ac42
commit
3758d72b65
@@ -119,6 +119,8 @@ export function ActionableGridListItem<T extends object>({
|
||||
padding: 16,
|
||||
textAlign: 'left',
|
||||
borderRadius: 0,
|
||||
justifyContent: 'flex-start',
|
||||
alignItems: 'flex-start',
|
||||
}}
|
||||
onClick={handleAction}
|
||||
>
|
||||
|
||||
@@ -52,7 +52,10 @@ export function RulesListItem({
|
||||
}
|
||||
{...props}
|
||||
>
|
||||
<SpaceBetween gap={12} style={{ alignItems: 'flex-start' }}>
|
||||
<SpaceBetween
|
||||
gap={12}
|
||||
style={{ alignItems: 'flex-start', width: '100%' }}
|
||||
>
|
||||
{/* Column 1: PRE/POST pill */}
|
||||
<View
|
||||
style={{
|
||||
|
||||
6
upcoming-release-notes/7081.md
Normal file
6
upcoming-release-notes/7081.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Bugfix
|
||||
authors: [MatissJanis]
|
||||
---
|
||||
|
||||
Mobile: adjust rules list for better alignment and full-width container display.
|
||||
Reference in New Issue
Block a user