Fix 1px UI issues with drive icons

This commit is contained in:
yflory 2019-02-05 17:23:08 +01:00
parent 46c3f1f3df
commit 2815c96ce8
2 changed files with 1 additions and 11 deletions

View file

@ -746,6 +746,7 @@
padding: 0; padding: 0;
.fa, .cptools { .fa, .cptools {
margin: 0; margin: 0;
vertical-align: top;
} }
button { button {
height: @variables_bar-height; height: @variables_bar-height;
@ -816,16 +817,6 @@
font-family: cptools; font-family: cptools;
} }
} }
/* The container <div> - needed to position the dropdown content */
.cp-dropdown-container {
margin: 2px 2px;
line-height: 1em;
position: relative;
display: inline-block;
}
.cp-dropdown-content {
margin-right: 2px;
}
.cp-app-drive-path { .cp-app-drive-path {
width: 100%; width: 100%;

View file

@ -2682,7 +2682,6 @@ define([
if (APP.mobile()) { if (APP.mobile()) {
var $context = $('<button>', { var $context = $('<button>', {
'class': 'cp-dropdown-container',
id: 'cp-app-drive-toolbar-context-mobile' id: 'cp-app-drive-toolbar-context-mobile'
}); });
$context.append($('<span>', {'class': 'fa fa-caret-down'})); $context.append($('<span>', {'class': 'fa fa-caret-down'}));