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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Enforce flex on buttons with octicons inside for alignment
Henriette Dargeee7f7ec325d0
diff --git a/frontend/src/global_styles/content/_buttons.sass b/frontend/src/global_styles/content/_buttons.sassindex 1e8214dbfc5..b0469beff2d 100644--- a/frontend/src/global_styles/content/_buttons.sass+++ b/frontend/src/global_styles/content/_buttons.sass@@ -144,6 +144,15 @@ a.buttondisplay: inline-flexalign-items: center+ // This is very bad :(+ // but as long as we have that mixture of old buttons with octicons inside we have to enforce the alignment+ // Unfortunately, each browser/OS combination behaves differently+ // This fix works for all browsers, except for Firefox on Windows (:cry:)+ &:has(> .octicon)+ body:not(.-browser-windows):not(.-browser-firefox) &+ display: flex+ align-items: center+.button--icon@include icon-common