Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix sorting behavior on enumeration page #220

Merged
merged 2 commits into from
Jan 27, 2021

Conversation

liaham
Copy link
Contributor

@liaham liaham commented Jan 10, 2021

Hi there,

I have been fixing an unexpected behavior on the enumeration page in the administration area of Redmine.

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 oneliner fixes this behavior for both grid and flexbox layout.

As far as I could see the fix does not compromise other functionalities.

Maybe you'd like to share it with other PurpleMine2 theme user.

Regards,
Liane

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.
The respective css styling is moved out of the case distinction between
grid and flexbox layout to be indpendent of the layout choice.
@mrliptontea mrliptontea merged commit 665ff99 into mrliptontea:master Jan 27, 2021
@mrliptontea
Copy link
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants