Skip to content

Commit 38d9840

Browse files
Fix missing divider in Toast (#6575)
Co-authored-by: Robert Snow <[email protected]>
1 parent 32a4360 commit 38d9840

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

packages/@adobe/spectrum-css-temp/components/toast/index.css

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ governing permissions and limitations under the License.
5959
display: flex;
6060
flex: 0 0 auto;
6161
align-items: flex-start;
62+
padding-inline-start: var(--spectrum-toast-padding-right);
63+
border-inline-start-width: 1px;
64+
border-inline-start-style: solid;
6265

6366
.spectrum-Button,
6467
.spectrum-ClearButton {
@@ -79,11 +82,4 @@ governing permissions and limitations under the License.
7982
justify-content: flex-end;
8083
column-gap: var(--spectrum-toast-content-padding-right);
8184
padding-inline-end: var(--spectrum-toast-content-padding-right);
82-
83-
& + .spectrum-Toast-buttons {
84-
padding-inline-start: var(--spectrum-toast-padding-right);
85-
86-
border-inline-start-width: 1px;
87-
border-inline-start-style: solid;
88-
}
8985
}

packages/@react-spectrum/toast/stories/Toast.stories.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,8 @@ export default {
4040
},
4141
argTypes: {
4242
timeout: {
43-
control: {
44-
type: 'radio',
45-
options: [null, 5000]
46-
}
43+
control: 'radio',
44+
options: [null, 5000]
4745
}
4846
}
4947
};

0 commit comments

Comments
 (0)