Skip to content

Commit

Permalink
Merge pull request patternfly#781 from matthewcarleton/wizard-close-u…
Browse files Browse the repository at this point in the history
…pdate

fix(wizard): fixes wizard close button style
  • Loading branch information
andresgalante authored Oct 18, 2017
2 parents f804cd1 + 7f641be commit c62c640
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
1 change: 1 addition & 0 deletions src/less/close.less
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Close icons
// --------------------------------------------------

//this should no longer be needed and be replaced with pficon-close. This is here for legacy. For further info see https://github.com/patternfly/patternfly/pull/781

.close {
text-shadow: none;
Expand Down
5 changes: 3 additions & 2 deletions tests/pages/_includes/widgets/communication/wizard.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
<div class="modal-dialog modal-lg wizard-pf">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close wizard-pf-dismiss" aria-label="Close"><span
aria-hidden="true">&times;</span></button>
<button type="button" class="close" data-dismiss="modal" aria-hidden="true" aria-label="Close">
<span class="pficon pficon-close"></span>
</button>
<dt class="modal-title">Wizard Title</dt>
</div>
<div class="modal-body wizard-pf-body clearfix">
Expand Down
4 changes: 2 additions & 2 deletions tests/pages/modals.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true" aria-label="Close">
<span class="pficon pficon-close"></span>
</button>
<h4 class="modal-title" id="myModalLabel">Modal Title</h4>
Expand Down Expand Up @@ -40,4 +40,4 @@ <h4 class="modal-title" id="myModalLabel">Modal Title</h4>
</div>
</div>
</div>
</div>
</div>
8 changes: 4 additions & 4 deletions tests/pages/wizard.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ <h2>Initializing</h2>
<div class="modal-dialog modal-lg wizard-pf">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
<button type="button" class="close" data-dismiss="modal" aria-hidden="true" aria-label="Close">
<span class="pficon pficon-close"></span>
</button>
<dt class="modal-title">Wizard Title</dt>
</div>
Expand Down Expand Up @@ -95,8 +95,8 @@ <h2>Last Step</h2>
<div class="modal-dialog modal-lg wizard-pf">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
<button type="button" class="close" data-dismiss="modal" aria-hidden="true" aria-label="Close">
<span class="pficon pficon-close"></span>
</button>
<dt class="modal-title">Wizard Title</dt>
</div>
Expand Down

0 comments on commit c62c640

Please sign in to comment.