Skip to content

Commit 8634c78

Browse files
Apply suggestions from code review
Co-authored-by: Robert Snow <[email protected]>
1 parent 226a872 commit 8634c78

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/react-aria-components/docs/Toast.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,13 +137,16 @@ Then, you can trigger a toast from anywhere using the exported `queue`.
137137
.react-aria-ToastContent {
138138
display: flex;
139139
flex-direction: column;
140+
flex: 1 1 auto;
141+
min-width: 0px;
140142

141143
[slot=title] {
142144
font-weight: bold;
143145
}
144146
}
145147

146148
.react-aria-Button[slot=close] {
149+
flex: 0 0 auto;
147150
background: none;
148151
border: none;
149152
appearance: none;

0 commit comments

Comments
 (0)