Skip to content

Commit

Permalink
Fix dropdown menu alignment + delete unused classes
Browse files Browse the repository at this point in the history
  • Loading branch information
tchrapovic committed Sep 22, 2022
1 parent e9b9d96 commit 29c1c9d
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 59 deletions.

This file was deleted.

Expand Up @@ -144,6 +144,6 @@ protected String getSpecialButtonClass() {
}

protected String getSpecialDropdownMenuClass() {
return "pull-right";
return "dropdown-menu-right";
}
}
Expand Up @@ -14,7 +14,7 @@
<button aria-expanded="false" type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown">
<span class="sr-only"><wicket:message key="SplitButtonDropDown.toggle"/></span>
</button>
<ul class="dropdown-menu pull-right" role="menu">
<ul class="dropdown-menu dropdown-menu-right" role="menu">
<li wicket:id="menuItems">
<div wicket:id="menuItem"/>
</li>
Expand Down

This file was deleted.

Expand Up @@ -365,7 +365,7 @@ public void onClick(AjaxRequestTarget target) {
new DropdownButtonDto(String.valueOf(tasksList.size()), icon, label, items)) {
@Override
protected String getSpecialDropdownMenuClass() {
return "pull-left";
return "dropdown-menu-left";
}
};
taskButtonsContainer.add(button);
Expand Down

0 comments on commit 29c1c9d

Please sign in to comment.