Fix various team UI issues

This commit is contained in:
yflory
2019-10-04 17:31:12 +02:00
parent 7a8908c93e
commit db2f233c44
5 changed files with 27 additions and 4 deletions

View File

@@ -269,6 +269,12 @@
cursor: pointer;
margin-left: -5px;
padding-left: 5px;
.fa, .cptools {
display: inline-block;
min-width: 0;
width: 25px;
margin-right: 0px;
}
}
}
}

View File

@@ -6,13 +6,16 @@
}
.leftside-menu-category_main() {
.unselectable_make();
padding: 5px 20px;
padding: 5px 15px;
margin: 15px 0;
cursor: pointer;
height: @variables_bar-height;
line-height: @variables_bar-height - 10px;
.fa, .cptools {
width: 25px;
display: inline-flex;
justify-content: center;
margin-right: 5px;
min-width: 25px;
}
&:hover {
background: rgba(0,0,0,0.05);

View File

@@ -38,13 +38,18 @@
}
&.cp-leftside-narrow {
transition: width 0.2s;
width: 50px;
width: 55px;
.cp-sidebarlayout-category {
display: flex;
max-width: 100%;
align-items: center;
.fa, .cptools {
margin-right: 0;
flex: 0;
}
span.cp-sidebarlayout-category-name {
flex: 1;
//margin-left: 5px;
padding-left: 5px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;