From 1ec25748368930df3ed3dbc4e3bb1eab2b258bfb Mon Sep 17 00:00:00 2001 From: Zef Hemel Date: Thu, 16 Apr 2026 14:09:51 +0200 Subject: [PATCH] Fix: button text wrapping --- client/styles/colors.scss | 1 + client/styles/editor.scss | 1 + 2 files changed, 2 insertions(+) diff --git a/client/styles/colors.scss b/client/styles/colors.scss index 84b845da..98d8713d 100644 --- a/client/styles/colors.scss +++ b/client/styles/colors.scss @@ -120,6 +120,7 @@ border-radius: 0.5em; padding: 0.2em 0.5em; font-size: 0.9em; + white-space: nowrap; &:hover { background-color: var(--hover-background-color); diff --git a/client/styles/editor.scss b/client/styles/editor.scss index 5de90551..025bf17b 100644 --- a/client/styles/editor.scss +++ b/client/styles/editor.scss @@ -636,6 +636,7 @@ button { font-family: var(--editor-font); font-size: inherit; + white-space: nowrap; } // Only show the button bar on hover on non-touch devices