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

Fix overflow in invite user form component on mobile

Aaron Contreras326a16074afe
diff --git a/app/components/shares/invite_user_form_component.sass b/app/components/shares/invite_user_form_component.sass
index ecf4e584d6b..1bbea9c1e7d 100644
--- a/app/components/shares/invite_user_form_component.sass
+++ b/app/components/shares/invite_user_form_component.sass
@@ -11,3 +11,9 @@
// userSelectedWarning userSelectedWarning userSelectedWarning
//
grid-column-gap: 0.5rem
+
+ // Fix overflow on mobile by providing a max width to the input
+ //
+ // We subtract the width and right padding of the dropdown arrow
+ .ng-placeholder
+ max-width: calc(100% - 25px - 5px)