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

[chore] fixed side menu icons for storages

Eric Schubert05c05702a0a9
diff --git a/frontend/src/global_styles/common/menu/menu.sass b/frontend/src/global_styles/common/menu/menu.sass
index 1e5a6097fcc..0fd2209e0eb 100644
--- a/frontend/src/global_styles/common/menu/menu.sass
+++ b/frontend/src/global_styles/common/menu/menu.sass
@@ -27,7 +27,7 @@
color: var(--context-menu-unselected-font-color)
.spot-icon
- &.after-menu-icon
+ &.trailing-icon
margin-left: auto
&:first-child
diff --git a/frontend/src/global_styles/content/_toast.sass b/frontend/src/global_styles/content/_toast.sass
index 9f88a995d26..ea9d3f75462 100644
--- a/frontend/src/global_styles/content/_toast.sass
+++ b/frontend/src/global_styles/content/_toast.sass
@@ -242,6 +242,10 @@ $nm-upload-box-padding: rem-calc(15) rem-calc(25)
margin-bottom: 0
color: var(--body-font-color)
+ &.-with-inline-links
+ display: flex
+ align-items: center
+
progress[value]
@extend %progress-styles
diff --git a/lib/redmine/menu_manager/menu_helper.rb b/lib/redmine/menu_manager/menu_helper.rb
index 9a502908656..8901f1e7ee1 100644
--- a/lib/redmine/menu_manager/menu_helper.rb
+++ b/lib/redmine/menu_manager/menu_helper.rb
@@ -180,7 +180,7 @@ module Redmine::MenuManager::MenuHelper
end
if item.icon_after.present?
- link_text << (''.html_safe + spot_icon(item.icon_after, size: '1_25', classnames: "after-menu-icon"))
+ link_text << (''.html_safe + spot_icon(item.icon_after, size: '1_25', classnames: "trailing-icon"))
end
html_options = item.html_options(selected:)
diff --git a/modules/storages/app/views/storages/admin/storages/show_oauth_application.html.erb b/modules/storages/app/views/storages/admin/storages/show_oauth_application.html.erb
index dbb51780873..d6f83b2f890 100644
--- a/modules/storages/app/views/storages/admin/storages/show_oauth_application.html.erb
+++ b/modules/storages/app/views/storages/admin/storages/show_oauth_application.html.erb
@@ -8,7 +8,7 @@
<div class="op-toast -warning">
<div class="op-toast--content">
- <p>
+ <p class="-with-inline-links">
<%= t('repositories.storage.oauth_application_details') %>
<a
href="<%= File.join(@oauth_application.integration.host, 'settings/admin/openproject') %>"