From 5f00fc19b6613253b8a0e657c700e0695d09e1aa Mon Sep 17 00:00:00 2001 From: fattybucket <28159593+Skym3@users.noreply.github.com> Date: Wed, 30 Oct 2024 23:49:12 +0500 Subject: [PATCH] luci-mod-dashboard: Fix the model text alignment The model name misalignment, with "out" appearing on a separate line, is due to `inline-block` styling in `luci-mod-dashboard`, which causes unintended text wrapping. Switching to `inline-flex` fixes this by keeping elements on the same line. --- .../htdocs/luci-static/resources/view/dashboard/css/custom.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/luci-mod-dashboard/htdocs/luci-static/resources/view/dashboard/css/custom.css b/modules/luci-mod-dashboard/htdocs/luci-static/resources/view/dashboard/css/custom.css index 66dd81f79ed5..ae6de6cb537b 100644 --- a/modules/luci-mod-dashboard/htdocs/luci-static/resources/view/dashboard/css/custom.css +++ b/modules/luci-mod-dashboard/htdocs/luci-static/resources/view/dashboard/css/custom.css @@ -118,7 +118,7 @@ } .Dashboard .settings-info p span:nth-child(2){ - display: inline-block; + display: inline-flex; word-break: break-all; }