fix(calendar(css)): fix padding of sort handle of calendars

pull/269/head
Francis Lachapelle 2020-01-17 11:48:02 -05:00
parent 96f2c64320
commit 43e5662950
2 changed files with 16 additions and 15 deletions

View File

@ -37,10 +37,9 @@
' sg-enter="$ctrl.saveFolder($event)"',
' sg-escape="$ctrl.revertEditing()" />',
'</md-input-container>',
'<md-button class="md-secondary md-icon-button" ',
' as-sortable-item-handle="as-sortable-item-handle">',
' <md-icon md-colors="::{color: \'accent-400\'}">drag_handle</md-icon>',
'</md-button>',
'<md-icon class="md-menu md-secondary-container"',
' as-sortable-item-handle="as-sortable-item-handle"',
' md-colors="::{color: \'accent-400\'}">drag_handle</md-icon>',
'<md-icon class="md-menu md-secondary-container sg-list-sortable-hide"',
' ng-click="$ctrl.showMenu($event)"',
' aria-label="' + l("Options") + '">more_vert</md-icon>'

View File

@ -261,19 +261,21 @@ div.md-tile-left {
* See https://github.com/a5hik/ng-sortable
*/
.as-sortable-hidden {
display: none !important;
}
.as-sortable-item {
.as-sortable-hidden {
display: none !important;
}
.as-sortable-un-selectable {
user-select: none;
}
.as-sortable-un-selectable {
user-select: none;
}
.as-sortable-item-handle {
display: none; /* [1] */
cursor: move;
cursor: -webkit-grab;
cursor: -moz-grab;
.as-sortable-item-handle {
display: none; /* [1] */
cursor: move;
cursor: -webkit-grab;
cursor: -moz-grab;
}
}
.sg-list-sortable {