mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2024-12-27 14:01:30 +08:00
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:
parent
8923070650
commit
f91b68af8c
1397
css/font-awesome.css
vendored
1397
css/font-awesome.css
vendored
File diff suppressed because it is too large
Load Diff
5
css/font-awesome.min.css
vendored
5
css/font-awesome.min.css
vendored
File diff suppressed because one or more lines are too long
@ -1,14 +1,22 @@
|
|||||||
// Stacked Icons
|
// Stacked Icons
|
||||||
// -------------------------
|
// -------------------------
|
||||||
|
|
||||||
.@{fa-css-prefix}-stack {
|
.@{fa-css-prefix}-stack, .@{fa-css-prefix}-stack-small {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
.@{fa-css-prefix}-stack {
|
||||||
width: 2em;
|
width: 2em;
|
||||||
height: 2em;
|
height: 2em;
|
||||||
line-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-1x,
|
||||||
.@{fa-css-prefix}-stack-2x,
|
.@{fa-css-prefix}-stack-2x,
|
||||||
.@{fa-css-prefix}-stack-corner-nw,
|
.@{fa-css-prefix}-stack-corner-nw,
|
||||||
|
Loading…
Reference in New Issue
Block a user