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

Add special rule for Safari to avoid that the button is too wide and the icon thus misplaced

Henriette Darge2e38e0b3b198
diff --git a/frontend/src/global_styles/content/work_packages/inplace_editing/_textareas.sass b/frontend/src/global_styles/content/work_packages/inplace_editing/_textareas.sass
index 4fea630d7f0..f7fe6a0bdf7 100644
--- a/frontend/src/global_styles/content/work_packages/inplace_editing/_textareas.sass
+++ b/frontend/src/global_styles/content/work_packages/inplace_editing/_textareas.sass
@@ -72,6 +72,10 @@
height: 29px
background: none
+ // Needed especially for iOS, because it would otherwise add a automatic padding for button resulting in the icon being misplaced
+ // see: https://stackoverflow.com/a/57420996/8900797
+ padding: 0
+
// Center save/cancel links
line-height: 27px
border: 1px solid transparent
@@ -84,4 +88,3 @@
.icon-context:before
padding: 0
-