mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2025-01-26 23:20:28 +08:00
fixing icon stacks for ie8
This commit is contained in:
parent
97e8f5459a
commit
745c23882d
@ -1,6 +1,6 @@
|
||||
<i class="icon-shield"></i> normal<br>
|
||||
<i class="icon-shield icon-rotate-90"></i> icon-rotate-90<br>
|
||||
<i class="icon-shield icon-rotate-180"></i> icon-rotate-180<br>
|
||||
<i class="icon-shield icon-rotate-270"></i> icon-rotate-270<br>
|
||||
<i class="icon-shield icon-flip-horizontal"></i> icon-flip-horizontal<br>
|
||||
<i class="icon-shield icon-flip-vertical"></i> icon-flip-vertical
|
||||
<i class="icon-flag"></i> normal<br>
|
||||
<i class="icon-flag icon-rotate-90"></i> icon-rotate-90<br>
|
||||
<i class="icon-flag icon-rotate-180"></i> icon-rotate-180<br>
|
||||
<i class="icon-flag icon-rotate-270"></i> icon-rotate-270<br>
|
||||
<i class="icon-flag icon-flip-horizontal"></i> icon-flip-horizontal<br>
|
||||
<i class="icon-flag icon-flip-vertical"></i> icon-flip-vertical
|
||||
|
@ -255,17 +255,13 @@ ul.icons-ul > li .icon-li {
|
||||
.icon-stack [class*=" icon-"] {
|
||||
display: block;
|
||||
position: absolute;
|
||||
width: inherit;
|
||||
height: inherit;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
font-size: 1em;
|
||||
line-height: inherit;
|
||||
}
|
||||
.icon-stack .icon-stack-base {
|
||||
display: block;
|
||||
width: inherit;
|
||||
height: inherit;
|
||||
font-size: 2em;
|
||||
line-height: inherit;
|
||||
}
|
||||
/* Animated rotating icon */
|
||||
.icon-spin {
|
||||
|
8
build/assets/font-awesome/less/mixins.less
vendored
8
build/assets/font-awesome/less/mixins.less
vendored
@ -20,17 +20,13 @@
|
||||
[class*=" icon-"] {
|
||||
display: block;
|
||||
position: absolute;
|
||||
width: inherit;
|
||||
height: inherit;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
font-size: @top-font-size;
|
||||
line-height: inherit;
|
||||
}
|
||||
.icon-stack-base {
|
||||
display: block;
|
||||
width: inherit;
|
||||
height: inherit;
|
||||
font-size: @base-font-size;
|
||||
line-height: inherit;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user