Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

remove add-on icon for 2fa and wrap the title menu item title

bsatarnejad0104e73f8203
diff --git a/frontend/src/global_styles/common/menu/menu.sass b/frontend/src/global_styles/common/menu/menu.sass
index 85e340f1f6e..4e1fbabcc4f 100644
--- a/frontend/src/global_styles/common/menu/menu.sass
+++ b/frontend/src/global_styles/common/menu/menu.sass
@@ -3,6 +3,11 @@
flex-direction: column
&--item
+ &-title
+ white-space: nowrap
+ font-weight: 400
+ overflow: hidden
+ text-overflow: ellipsis
&-action
display: block
@@ -10,10 +15,7 @@
line-height: 32px
text-decoration: none
padding: 0px 13px 0px 10px
- white-space: nowrap
font-weight: 400
- overflow: hidden
- text-overflow: ellipsis
color: var(--context-menu-unselected-font-color)
&:focus
diff --git a/modules/two_factor_authentication/lib/open_project/two_factor_authentication/engine.rb b/modules/two_factor_authentication/lib/open_project/two_factor_authentication/engine.rb
index 6b8e81811b5..03ee3c8d0bd 100644
--- a/modules/two_factor_authentication/lib/open_project/two_factor_authentication/engine.rb
+++ b/modules/two_factor_authentication/lib/open_project/two_factor_authentication/engine.rb
@@ -34,8 +34,7 @@ module OpenProject::TwoFactorAuthentication
{ controller: '/two_factor_authentication/two_factor_settings', action: :show },
caption: ->(*) { I18n.t('two_factor_authentication.label_two_factor_authentication') },
parent: :authentication,
- if: ->(*) { ::OpenProject::TwoFactorAuthentication::TokenStrategyManager.configurable_by_ui? },
- enterprise_feature: 'two_factor_authentication'
+ if: ->(*) { ::OpenProject::TwoFactorAuthentication::TokenStrategyManager.configurable_by_ui? }
end
patches %i[User]