From 444a96a5ee89cbe362bdc6609ac2b280810dd704 Mon Sep 17 00:00:00 2001 From: Corinne Durrmeyer Date: Thu, 25 Jul 2024 16:41:17 +0200 Subject: [PATCH] Prevent buttons from overflowing their container --- app/assets/stylesheets/01_common.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/assets/stylesheets/01_common.scss b/app/assets/stylesheets/01_common.scss index 47b94bc1d..a0a1d51b3 100644 --- a/app/assets/stylesheets/01_common.scss +++ b/app/assets/stylesheets/01_common.scss @@ -6,6 +6,11 @@ body { scroll-behavior: smooth; } +// Forces line breaks to prevent buttons from overflowing their container +input[type="submit"] { + white-space: normal; +} + .page-wrapper { position: relative; min-height: 100%;