Skip to content

Commit 8815898

Browse files
fix(website): move text inline with EuiButton in toast guidelines
1 parent 208b739 commit 8815898

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

packages/website/docs/components/display/toast/guidelines.mdx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,7 @@ A toast can have a single action, styled as a standard button. If more actions a
150150
<EuiButton size="s">Cancel</EuiButton>
151151
</EuiFlexItem>
152152
<EuiFlexItem grow={false}>
153-
<EuiButton size="s" color="danger">
154-
Delete
155-
</EuiButton>
153+
<EuiButton size="s" color="danger">Delete</EuiButton>
156154
</EuiFlexItem>
157155
</EuiFlexGroup>
158156
</EuiToast>
@@ -292,9 +290,7 @@ Occasionally, the content of a toast is too involved to fit into the constrained
292290
>
293291
<p>The maximum bucket size of 200 was exceeded.</p>
294292
<div style={{ textAlign: 'right' }}>
295-
<EuiButton size="s" color="danger" onClick={() => {}}>
296-
See the full error
297-
</EuiButton>
293+
<EuiButton size="s" color="danger" onClick={() => {}}>See the full error</EuiButton>
298294
</div>
299295
</EuiToast>
300296
</Guideline>

0 commit comments

Comments
 (0)