Fix sorting behavior on enumeration page

Sorting a list item on administration/enumerations page causes for the
tables at second and third position on the page an unexpected behavior
when trying to sort an element by drag & drop.

That is, the distance between the dragged element and its placeholder
increases that much that it was difficult to position the list item as
wished.
This commit is contained in:
Liane Hampe
2021-01-10 15:03:55 +01:00
parent 58c45cf28f
commit bf14f9fa3c
2 changed files with 2 additions and 1 deletions

View File

@@ -35,6 +35,7 @@
$side-space: $sidebar-width + $padding-side * 2; $side-space: $sidebar-width + $padding-side * 2;
flex: 1 1 auto; flex: 1 1 auto;
width: calc(100% - #{$side-space}); width: calc(100% - #{$side-space});
overflow-x: auto; // needed for drag & drop of enumerations
} @else { } @else {
overflow: hidden; overflow: hidden;
} }

File diff suppressed because one or more lines are too long