Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
[MM-13811] fixes wrong stylings on several modals (#2280)
Browse files Browse the repository at this point in the history
* fix wrong styling on several modals

* update test snapshots
  • Loading branch information
svelle authored and sudheerDev committed Jan 30, 2019
1 parent c6fddd1 commit b6cd19f
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions components/__snapshots__/get_link_modal.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ exports[`components/GetLinkModal should have called onHide 1`] = `
componentClass="div"
>
<button
className="btn btn-default"
className="btn btn-link"
id="linkModalCloseButton"
onClick={[Function]}
type="button"
Expand Down Expand Up @@ -146,7 +146,7 @@ exports[`components/GetLinkModal should have called onHide 2`] = `
componentClass="div"
>
<button
className="btn btn-default"
className="btn btn-link"
id="linkModalCloseButton"
onClick={[Function]}
type="button"
Expand Down Expand Up @@ -233,7 +233,7 @@ exports[`components/GetLinkModal should match snapshot when all props is set 1`]
componentClass="div"
>
<button
className="btn btn-default"
className="btn btn-link"
id="linkModalCloseButton"
onClick={[Function]}
type="button"
Expand Down Expand Up @@ -315,7 +315,7 @@ exports[`components/GetLinkModal should match snapshot when helpText is not set
componentClass="div"
>
<button
className="btn btn-default"
className="btn btn-link"
id="linkModalCloseButton"
onClick={[Function]}
type="button"
Expand Down
2 changes: 1 addition & 1 deletion components/get_link_modal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export default class GetLinkModal extends React.PureComponent {
<button
id='linkModalCloseButton'
type='button'
className='btn btn-default'
className='btn btn-link'
onClick={this.onHide}
>
<FormattedMessage
Expand Down
2 changes: 1 addition & 1 deletion components/invite_member_modal/invite_member_modal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ class InviteMemberModal extends React.PureComponent {
{serverError}
<button
type='button'
className='btn btn-default'
className='btn btn-link'
onClick={this.addInviteFields}
>
<FormattedMessage
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ exports[`components/multiselect/multiselect should match snapshot 1`] = `
className="filter-controls"
>
<button
className="btn btn-default filter-control filter-control__next"
className="btn btn-link filter-control filter-control__next"
onClick={[Function]}
>
<FormattedMessage
Expand Down Expand Up @@ -299,7 +299,7 @@ exports[`components/multiselect/multiselect should match snapshot for page 2 1`]
className="filter-controls"
>
<button
className="btn btn-default filter-control filter-control__prev"
className="btn btn-link filter-control filter-control__prev"
onClick={[Function]}
>
<FormattedMessage
Expand Down
4 changes: 2 additions & 2 deletions components/multiselect/multiselect.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ export default class MultiSelect extends React.Component {
if (options.length > pageEnd) {
nextButton = (
<button
className='btn btn-default filter-control filter-control__next'
className='btn btn-link filter-control filter-control__next'
onClick={this.nextPage}
>
<FormattedMessage
Expand All @@ -264,7 +264,7 @@ export default class MultiSelect extends React.Component {
if (this.state.page > 0) {
previousButton = (
<button
className='btn btn-default filter-control filter-control__prev'
className='btn btn-link filter-control filter-control__prev'
onClick={this.prevPage}
>
<FormattedMessage
Expand Down

0 comments on commit b6cd19f

Please sign in to comment.