From 662c850b97e917f9c84dbdaaae74c261b84cdec2 Mon Sep 17 00:00:00 2001 From: rc-swag <58423624+rc-swag@users.noreply.github.com> Date: Thu, 28 Sep 2023 14:43:35 +1000 Subject: [PATCH] fix(windows): fix the ellipsis for longer text on btns The buttons already had a property to display ellipsis when the text was to big for the buttons however the other properties such as white-space nowrap needed to be added for it to work in all cases. --- windows/src/desktop/kmshell/xml/splash.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/windows/src/desktop/kmshell/xml/splash.css b/windows/src/desktop/kmshell/xml/splash.css index e54e393413d..413280ce057 100644 --- a/windows/src/desktop/kmshell/xml/splash.css +++ b/windows/src/desktop/kmshell/xml/splash.css @@ -156,6 +156,9 @@ a.button { #config .btn { width: 180px; text-overflow: ellipsis; + overflow: hidden; + display: inline-block; + white-space: nowrap; } #config { @@ -167,6 +170,10 @@ a.button { #exit .btn-small { width: 90px; + text-overflow: ellipsis; + overflow: hidden; + display: inline-block; + white-space: nowrap; } #tasks div#showAtStartupBox { margin-top: 6px; margin-left: 0; }