Merge pull request #296 from flashbackzoo/pulls/fix-ie-drag-drop

Fix IE8 drag-and-drop
This commit is contained in:
Damian Mooyman 2015-08-20 16:33:03 +12:00
commit 5abf9f5212
2 changed files with 12 additions and 0 deletions

View File

@ -4,6 +4,9 @@
.cms .uf-field-editor { .cms .uf-field-editor {
padding-bottom: 0; padding-bottom: 0;
} }
.cms .uf-field-editor table.ss-gridfield-table .ss-gridfield-item {
height: 46px;
}
.cms .uf-field-editor table.ss-gridfield-table .ss-gridfield-item, .cms .uf-field-editor table.ss-gridfield-table .ss-gridfield-item:hover { .cms .uf-field-editor table.ss-gridfield-table .ss-gridfield-item, .cms .uf-field-editor table.ss-gridfield-table .ss-gridfield-item:hover {
background: white; background: white;
} }
@ -17,6 +20,9 @@
.cms .uf-field-editor table.ss-gridfield-table .ss-gridfield-item .handle { .cms .uf-field-editor table.ss-gridfield-table .ss-gridfield-item .handle {
min-height: 46px; min-height: 46px;
} }
.cms .uf-field-editor table.ss-gridfield-table .ss-gridfield-item.ui-sortable-placeholder {
height: 50px;
}
.cms .uf-field-editor table.ss-gridfield-table .ss-gridfield-item.inFieldGroup, .cms .uf-field-editor table.ss-gridfield-table .ss-gridfield-item.inFieldGroup:hover { .cms .uf-field-editor table.ss-gridfield-table .ss-gridfield-item.inFieldGroup, .cms .uf-field-editor table.ss-gridfield-table .ss-gridfield-item.inFieldGroup:hover {
background: #f2f9fd; background: #f2f9fd;
} }

View File

@ -10,6 +10,8 @@
table.ss-gridfield-table { table.ss-gridfield-table {
// Standard rows // Standard rows
.ss-gridfield-item { .ss-gridfield-item {
height: 46px;
&, &:hover { &, &:hover {
background: white; background: white;
} }
@ -28,6 +30,10 @@
} }
} }
.ss-gridfield-item.ui-sortable-placeholder {
height: 50px;
}
.ss-gridfield-item.inFieldGroup { .ss-gridfield-item.inFieldGroup {
&, &:hover { &, &:hover {
background: #f2f9fd; background: #f2f9fd;