Merge pull request #3198 from awesomerobot/master

category box alignment fix
This commit is contained in:
Jeff Atwood 2015-02-12 21:16:10 -08:00
commit a5a3f103f6
1 changed files with 7 additions and 4 deletions

View File

@ -31,16 +31,18 @@
} }
.badge-category { .badge-category {
padding: 6px 4px;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
vertical-align: top; vertical-align: top;
.fa {
line-height: 0;
}
} }
.badge-wrapper > .badge-category { .badge-wrapper > .badge-category {
// ie9? // ie9?
width: 100%; width: 100%;
width: calc(100% - 10px) padding: 5px 4px;
} }
.d-header li.category .badge-wrapper { .d-header li.category .badge-wrapper {
@ -69,7 +71,7 @@ header .title-wrapper {
} }
.badge-category-parent-bg, .badge-category-bg { .badge-category-parent-bg, .badge-category-bg {
padding: 6px 2px; padding: 5px 2px 4px 2px;
width: 2px; width: 2px;
.category-name { .category-name {
display: none; display: none;
@ -149,7 +151,8 @@ header .title-wrapper .bar .badge-category {
> .badge-category { > .badge-category {
width: 100%; width: 100%;
width: calc(100% - 2px); box-sizing: border-box;
padding: 5px 6px 4px 6px;
} }
} }