Skip to content

Commit 1a4e460

Browse files
flourish86nilmerg
authored andcommitted
CSS: Consolidate state-ball icon alignment across browsers
refs #288
1 parent d29c32a commit 1a4e460

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

asset/css/balls.less

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,24 @@
120120

121121
i {
122122
text-align: center;
123+
display: block;
124+
123125
&:before {
124126
margin-right: 0;
125127
}
126128
}
129+
130+
// Specific icon styles
131+
&.ball-size-l i {
132+
&.fa-sitemap:before {
133+
font-size: 8px; // px to ignore browser min font-size
134+
}
135+
}
136+
137+
&.ball-size-xl i {
138+
&.fa-sitemap:before {
139+
font-size: .857em;
140+
line-height: (2 - @ball-pad * 2) / .857;
141+
}
142+
}
127143
}

0 commit comments

Comments
 (0)