Skip to content
Snippets Groups Projects

Resolve #3242554 "Update form dropdown alignment"

1 unresolved thread

Closes #3242554

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
12 12 },
13 13
14 14 updatePosition: function (el) {
15 const leftAligned = el.closest('.node-form') || false;
15 const leftAligned = el.closest('form') || false;
  • This will most likely make all dropdowns left-aligned, even those that we want to keep as right-aligned, e.g. action dropbuttons on content overview pages.

    If you look into styles/_dropbutton.scss:85-104, you will see that dropdowns are right-aligned by default, and only those within a .node-form wrapper are left-aligned.

    Edited by Christopher Lewis
  • Please register or sign in to reply
Please register or sign in to reply
Loading