Skip to content

Commit 0c960b5

Browse files
author
Adam Bradley
committed
fix(header): Set a height for .bar .title
WP8 does not obey the ellipsis or nowrap and allows text to go below the header. Setting a height forces the title from getting too tall.
1 parent aa15f8e commit 0c960b5

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

scss/_bar.scss

+5-4
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@
107107
margin: 0 10px;
108108

109109
min-width: 30px;
110+
height: $bar-height - 1;
110111

111112
text-align: center;
112113

@@ -135,8 +136,8 @@
135136
padding: 0 $button-bar-button-padding;
136137
min-width: initial;
137138
min-height: $button-bar-button-height - 1;
138-
font-size: $button-bar-button-font-size;
139139
font-weight: 400;
140+
font-size: $button-bar-button-font-size;
140141
line-height: $button-bar-button-height;
141142

142143
&.button-icon:before,
@@ -162,10 +163,10 @@
162163
}
163164
}
164165
&.button-clear {
165-
font-size: $bar-title-font-size;
166-
font-weight: 300;
167166
padding-right: 2px;
168167
padding-left: 2px;
168+
font-weight: 300;
169+
font-size: $bar-title-font-size;
169170

170171
.icon:before,
171172
&.icon:before,
@@ -192,7 +193,7 @@
192193
.button + .button-bar {
193194
margin-left: 5px;
194195
}
195-
196+
196197
// Android 4.4 messes with the display property
197198
.buttons,
198199
.buttons.left-buttons,

0 commit comments

Comments
 (0)