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

Set box-sizing so that Safari does not cut off the bottom of the avatar

Henriette Darge629defefd235
diff --git a/frontend/src/global_styles/content/_avatar.sass b/frontend/src/global_styles/content/_avatar.sass
index 0c2ea63f2ca..c5fed706225 100644
--- a/frontend/src/global_styles/content/_avatar.sass
+++ b/frontend/src/global_styles/content/_avatar.sass
@@ -45,6 +45,8 @@ $user-avatar-mini-height: 20px
// (medium height) 28 - 2(border pixels)
line-height: 26px
font-size: 13px
+ // Needed for Safari to avoid that the avatar is cut off
+ box-sizing: content-box
// Different border styling for placeholders
&_placeholder-user