Skip to content

Commit ec4bbce

Browse files
author
Taushanova-Atanasova, Inna
committed
Adds styling for the buttons triggering the modals
1 parent d6176e5 commit ec4bbce

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/Alert/Alert.Component.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const AlertComponent = () => {
1717
تم. بسبب أمام وشعار ولم بـ. أحكم والكساد ما فقد. كل وعُرفت الإنزال مدن. انه
1818
</Alert>`;
1919

20-
const errorAlertCode = ` <Alert type="error" dismissable link="#" linkText="link">
20+
const errorAlertCode = `<Alert type="error" dismissable link="#" linkText="link">
2121
Error message with a
2222
</Alert>
2323

src/Modal/Modal.Component.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@ export class ModalComponent extends Component {
189189
This is used to present information to the user but the Alert
190190
Component doesn’t fit all the information.
191191
</Description>
192-
<DocsTile>
193-
<button onClick={this.showHideModal}>Show Information Modal</button>
192+
<DocsTile centered>
193+
<button class="fd-button" onClick={this.showHideModal}>Show Information Modal</button>
194194
<Modal
195195
show={this.state.bShowInfoModal}
196196
title="Product Added"
@@ -255,8 +255,8 @@ export class ModalComponent extends Component {
255255
This is used for short forms in order to collect information from the
256256
user.
257257
</Description>
258-
<DocsTile>
259-
<button onClick={this.showHideFormModal}>Show Form Modal</button>
258+
<DocsTile centered>
259+
<button class="fd-button" onClick={this.showHideFormModal}>Show Form Modal</button>
260260
<Modal
261261
show={this.state.bShowFormModal}
262262
title="Invite user"

0 commit comments

Comments
 (0)