From: Paul Donald Date: Wed, 14 Jan 2026 00:43:48 +0000 (+0100) Subject: luci-theme: alignment fixes X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=7f0c172ee1a7a867cb61f404b3a5981c45158858;p=openwrt-luci.git luci-theme: alignment fixes These help to align read-only items with their title elements. Signed-off-by: Paul Donald --- diff --git a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css index e29356b33a..d4d83f73dd 100644 --- a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css +++ b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css @@ -545,6 +545,7 @@ select { display: flex; flex-wrap: wrap; margin-bottom: 18px; + align-items: baseline; } .cbi-value-field { diff --git a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/mobile.css b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/mobile.css index da1d7fe281..c6d02b22d1 100644 --- a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/mobile.css +++ b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/mobile.css @@ -172,6 +172,7 @@ header h3 a, header .brand { border-bottom: 1px solid var(--border-color-high); margin-bottom: .5em; display: block; + align-items: baseline; } .cbi-value.hidden { diff --git a/themes/luci-theme-material/htdocs/luci-static/material/cascade.css b/themes/luci-theme-material/htdocs/luci-static/material/cascade.css index 338d7b4fb3..0251e4b050 100644 --- a/themes/luci-theme-material/htdocs/luci-static/material/cascade.css +++ b/themes/luci-theme-material/htdocs/luci-static/material/cascade.css @@ -1257,6 +1257,7 @@ td > table > tbody > tr > td, display: inline-block; width: 100%; padding: .35rem 1rem .2rem 1rem; + align-items: baseline; } .cbi-value ul { diff --git a/themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css b/themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css index cd8fef6a27..cc800bab24 100644 --- a/themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css +++ b/themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css @@ -1123,6 +1123,7 @@ textarea { display: flex; flex-wrap: wrap; margin: 0 0 1em 0; + align-items: baseline; } .cbi-value > label:first-child { diff --git a/themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css b/themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css index 7e4791c757..889f120531 100644 --- a/themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css +++ b/themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css @@ -802,6 +802,7 @@ table td, table th { vertical-align: middle; padding: 0.25em 0.6em; border-bottom: 1px dotted #bbbbbb; + align-items: baseline; } .cbi-value:hover {