Skip to content

Commit 801d2d7

Browse files
author
Adam Bradley
committed
fix(header): Header icon button css fix for Safari, closes #576
1 parent 03bf67d commit 801d2d7

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Diff for: scss/_bar.scss

+2-1
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@
136136
font-weight: 400;
137137
line-height: $button-bar-button-height;
138138

139+
&.button-icon:before,
139140
.icon:before,
140141
&.icon:before,
141142
&.icon-left:before,
@@ -149,9 +150,9 @@
149150
&.button-icon {
150151
.icon:before,
151152
&:before,
152-
&.icon:before,
153153
&.icon-left:before,
154154
&.icon-right:before {
155+
vertical-align: top;
155156
font-size: $button-large-icon-size;
156157
line-height: $button-bar-button-height;
157158
}

Diff for: test/headers.html

+5
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,11 @@ <h1 class="title">Really really really really really really really really long t
219219
</a>
220220
</header>
221221

222+
<header class="bar bar-header bar-stable">
223+
<button class="button button-clear button-icon ion-ios7-arrow-back"> Back</button>
224+
<h1 class="title">Title here</h1>
225+
</header>
226+
222227
</content>
223228

224229
</body>

0 commit comments

Comments
 (0)