From 3fef37cda8ae70300100dbe1356b42908fae5612 Mon Sep 17 00:00:00 2001 From: Yiximail Date: Thu, 18 Jan 2024 10:56:48 +0800 Subject: [PATCH] UI: Update position of show-controls label to avoid line breaks due to font size (#5256) --- css/main.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/css/main.css b/css/main.css index bfc81b0f..72b2a087 100644 --- a/css/main.css +++ b/css/main.css @@ -490,7 +490,10 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* { #show-controls label { z-index: 1000; position: absolute; - left: calc(100% - 168px); + right: 0; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } #show-controls span {