Skip to content

Commit

Permalink
chore: removing s2 references to css flex shorthand, use grow, basis,…
Browse files Browse the repository at this point in the history
… and shrink (#7776)
  • Loading branch information
ktabors authored Feb 19, 2025
1 parent 7196e39 commit f5b0c50
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion .storybook-s2/docs/Intro.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ import {ActionButton} from '@react-spectrum/s2';
<li><Code>width</Code></li>
<li><Code>minWidth</Code></li>
<li><Code>maxWidth</Code></li>
<li><Code>flex</Code></li>
<li><Code>flexGrow</Code></li>
<li><Code>flexShrink</Code></li>
<li><Code>flexBasis</Code></li>
Expand Down
1 change: 0 additions & 1 deletion packages/@react-spectrum/s2/src/style-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ const allowedOverrides = [
'marginBottom',
'marginX',
'marginY',
'flex',
'flexGrow',
'flexShrink',
'flexBasis',
Expand Down

1 comment on commit f5b0c50

@rspbot
Copy link

@rspbot rspbot commented on f5b0c50 Feb 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.