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 flex-direction to column on mobile

Oliver Günther45d441fce8bd
diff --git a/frontend/src/global_styles/content/modules/_2fa.sass b/frontend/src/global_styles/content/modules/_2fa.sass
index bc015422b9b..effcc5ba924 100644
--- a/frontend/src/global_styles/content/modules/_2fa.sass
+++ b/frontend/src/global_styles/content/modules/_2fa.sass
@@ -38,6 +38,10 @@
flex-direction: row
width: 75%
+ @media screen and (max-width: $breakpoint-sm)
+ flex-direction: column
+ gap: 1rem
+
.mobile-otp-new-device
border: 1px solid #f1f1f1
padding: 20px