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

For align-items flex-start to avoid stretch in safari

Oliver Günther2bd3d3e6b96a
diff --git a/frontend/src/global_styles/content/user-content/_figure.sass b/frontend/src/global_styles/content/user-content/_figure.sass
index 892e216beca..5da56f9f2a1 100644
--- a/frontend/src/global_styles/content/user-content/_figure.sass
+++ b/frontend/src/global_styles/content/user-content/_figure.sass
@@ -33,7 +33,10 @@
flex-shrink: 1
width: 100%
display: flex
- justify-content: flex-start
+ justify-content: flex-start
+ // Fix stretching of images in safari
+ // https://stackoverflow.com/questions/57516373
+ align-items: flex-start
overflow: auto
max-height: 100%