diff options
Diffstat (limited to 'server/sonar-web/src/main/js/components/controls/ActionsDropdown.tsx')
-rw-r--r-- | server/sonar-web/src/main/js/components/controls/ActionsDropdown.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/components/controls/ActionsDropdown.tsx b/server/sonar-web/src/main/js/components/controls/ActionsDropdown.tsx index c23f62d0f94..a21b0f533a4 100644 --- a/server/sonar-web/src/main/js/components/controls/ActionsDropdown.tsx +++ b/server/sonar-web/src/main/js/components/controls/ActionsDropdown.tsx @@ -26,6 +26,7 @@ import SettingsIcon from '../icons-components/SettingsIcon'; interface Props { className?: string; children: React.ReactNode; + menuClassName?: string; menuPosition?: 'left' | 'right'; small?: boolean; toggleClassName?: string; @@ -43,7 +44,7 @@ export default function ActionsDropdown({ menuPosition = 'right', ...props }: Pr <i className="icon-dropdown little-spacer-left" /> </button> <ul - className={classNames('dropdown-menu', { + className={classNames('dropdown-menu', props.menuClassName, { 'dropdown-menu-right': menuPosition === 'right' })}> {props.children} |