From c8ac568f4fc955feb6a198733d8e283d21460a52 Mon Sep 17 00:00:00 2001 From: silverwind Date: Sun, 14 Apr 2024 22:03:37 +0200 Subject: [PATCH 1/2] Revert 100% label max-width --- web_src/css/modules/label.css | 1 - 1 file changed, 1 deletion(-) diff --git a/web_src/css/modules/label.css b/web_src/css/modules/label.css index 696080b66704e..2032b2c84bbb5 100644 --- a/web_src/css/modules/label.css +++ b/web_src/css/modules/label.css @@ -6,7 +6,6 @@ align-items: center; gap: .25rem; min-width: 0; - max-width: 100%; /* since we are using "flex" to align label contents, we also need to limit the x-axis, a label shouldn't be wider than 100% */ vertical-align: middle; line-height: 1; background: var(--color-label-bg); From 6d4c7952c3f66bcc34f7ec76548899f4aae08b26 Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Mon, 15 Apr 2024 08:37:08 +0800 Subject: [PATCH 2/2] fix devtest --- templates/devtest/label.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/devtest/label.tmpl b/templates/devtest/label.tmpl index 77590715a11cc..c4b52a3e2322d 100644 --- a/templates/devtest/label.tmpl +++ b/templates/devtest/label.tmpl @@ -20,7 +20,7 @@ very looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong label
- very looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong label + very looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong label