Fixed a display problem with the fa-stack class.

fa-stack assumed that it would have a 2x item inside of it, and I created an auxilery
fa-stack-small class that will fit a 1x icon stacked with a corner icon.
This commit is contained in:
Jake Franklin 2014-04-17 13:03:29 -07:00
parent 8923070650
commit f91b68af8c
3 changed files with 1411 additions and 3 deletions

1397
css/font-awesome.css vendored

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -1,14 +1,22 @@
// Stacked Icons
// -------------------------
.@{fa-css-prefix}-stack {
.@{fa-css-prefix}-stack, .@{fa-css-prefix}-stack-small {
position: relative;
display: inline-block;
vertical-align: middle;
}
.@{fa-css-prefix}-stack {
width: 2em;
height: 2em;
line-height: 2em;
vertical-align: middle;
}
.@{fa-css-prefix}-stack-small {
width: 1em;
height: 1em;
line-height: 1em;
}
.@{fa-css-prefix}-stack-1x,
.@{fa-css-prefix}-stack-2x,
.@{fa-css-prefix}-stack-corner-nw,