mirror of
https://github.com/actualbudget/actual.git
synced 2026-04-30 09:50:18 -05:00
Fix style issues after Stack migration (#6086)
* Fix style issues after Stack migration * Add release notes
This commit is contained in:
committed by
GitHub
parent
31455d475c
commit
dedf0cd6f8
@@ -7,6 +7,7 @@ type SpaceBetweenProps = {
|
||||
direction?: 'horizontal' | 'vertical';
|
||||
gap?: number;
|
||||
wrap?: boolean;
|
||||
align?: 'start' | 'center' | 'end' | 'stretch';
|
||||
style?: CSSProperties;
|
||||
children: ReactNode;
|
||||
};
|
||||
@@ -15,6 +16,7 @@ export const SpaceBetween = ({
|
||||
direction = 'horizontal',
|
||||
gap = 15,
|
||||
wrap = true,
|
||||
align = 'center',
|
||||
style,
|
||||
children,
|
||||
...props
|
||||
@@ -24,7 +26,7 @@ export const SpaceBetween = ({
|
||||
style={{
|
||||
flexWrap: wrap ? 'wrap' : 'nowrap',
|
||||
flexDirection: direction === 'horizontal' ? 'row' : 'column',
|
||||
alignItems: 'center',
|
||||
alignItems: align,
|
||||
gap,
|
||||
...style,
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user