Skip to content

Commit

Permalink
fix(Toaster): use logical css values in stories (#1142)
Browse files Browse the repository at this point in the history
  • Loading branch information
Raubzeug authored and amje committed Dec 6, 2023
1 parent d0eac41 commit 8663c2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Toaster/__stories__/ToasterShowcase.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ export const ToasterDemo = ({
const createCustomToast = () => {
const content = (
<div style={{display: 'flex'}}>
<div style={{maxWidth: '86px', maxHeight: '86px', marginRight: '16px'}}>
<div style={{maxWidth: '86px', maxHeight: '86px', marginInlineEnd: '16px'}}>
<Icon size={86} data={CircleCheck} />
</div>
<div
Expand Down Expand Up @@ -298,7 +298,7 @@ export const ToasterDemo = ({
setState((state) => ({...state, lastToastName: ''}));
};

const btnStyle = {marginLeft: 20};
const btnStyle = {marginInlineStart: 20};

const defaultToastBtn = (
<Button view="outlined" size="l" onClick={createDefaultToast} style={btnStyle}>
Expand Down

0 comments on commit 8663c2d

Please sign in to comment.