mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 15:48:43 -05:00
box category alignment fix
This commit is contained in:
parent
f62c0db162
commit
f6035411c9
1 changed files with 7 additions and 4 deletions
|
@ -31,16 +31,18 @@
|
|||
}
|
||||
|
||||
.badge-category {
|
||||
padding: 6px 4px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
vertical-align: top;
|
||||
.fa {
|
||||
line-height: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.badge-wrapper > .badge-category {
|
||||
// ie9?
|
||||
width: 100%;
|
||||
width: calc(100% - 10px)
|
||||
padding: 5px 4px;
|
||||
}
|
||||
|
||||
.d-header li.category .badge-wrapper {
|
||||
|
@ -69,7 +71,7 @@ header .title-wrapper {
|
|||
}
|
||||
|
||||
.badge-category-parent-bg, .badge-category-bg {
|
||||
padding: 6px 2px;
|
||||
padding: 5px 2px 4px 2px;
|
||||
width: 2px;
|
||||
.category-name {
|
||||
display: none;
|
||||
|
@ -149,7 +151,8 @@ header .title-wrapper .bar .badge-category {
|
|||
|
||||
> .badge-category {
|
||||
width: 100%;
|
||||
width: calc(100% - 2px);
|
||||
box-sizing: border-box;
|
||||
padding: 5px 6px 4px 6px;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue