Skip to content

Commit 08df72f

Browse files
microbit-josephinemicrobit-carlos
authored andcommitted
UI: Correctly align button icons in Firefox (#275)
1 parent 415e152 commit 08df72f

File tree

1 file changed

+10
-23
lines changed

1 file changed

+10
-23
lines changed

static/css/style.css

Lines changed: 10 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -157,18 +157,7 @@ h2 {
157157
background: #FFFFFF;
158158
}
159159
html[data-useragent*='MSIE 10.0'] #small-icons .status-icon {
160-
width: 37px;
161-
height: 37px;
162-
border: 6px solid #FFCC33;
163-
border-radius: 50%;
164-
margin: .2rem;
165-
text-align: center;
166-
font-size: 1.4rem;
167160
line-height: 2.15rem;
168-
padding: 0;
169-
font-family: "Segoe UI Emoji", "Segoe UI Symbol", "Symbola", sans-serif;
170-
color: #336699;
171-
background: #FFFFFF;
172161
}
173162

174163
#small-icons .holder {
@@ -301,20 +290,18 @@ html[data-useragent*='MSIE 10.0'] #small-icons .status-icon {
301290
color: #336699;
302291
background: #FFFFFF;
303292
}
293+
294+
@-moz-document url-prefix() {
295+
.roundsymbol {
296+
line-height: 3.7rem;
297+
}
298+
#small-icons .status-icon {
299+
line-height: 2.15rem;
300+
}
301+
}
302+
304303
html[data-useragent*='MSIE 10.0'] .roundsymbol {
305-
width: 4rem;
306-
height: 4rem;
307-
border: 6px solid #FFCC33;
308-
border-radius: 50%;
309-
margin: .2rem;
310-
margin-bottom: 0;
311-
text-align: center;
312-
font-size: 2.6rem;
313304
line-height: 3.7rem;
314-
padding: .1em;
315-
font-family: "Segoe UI Emoji", "Segoe UI Symbol", "Symbola", sans-serif;
316-
color: #336699;
317-
background: #FFFFFF;
318305
}
319306

320307
.roundbutton:focus, .roundbutton:active {

0 commit comments

Comments
 (0)