Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openwrt/luci.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel Angel Mulero Martinez <migmul@gmail.com>2022-04-30 10:57:02 +0300
committerMiguel Angel Mulero Martinez <migmul@gmail.com>2022-04-30 10:57:02 +0300
commit3333fd6695cbd2e7a6055f01542242a3b7c111ec (patch)
tree8c5c9f011b14c304a1b05941ff26a5e46eaf5462
parent5ccef2421b4d1b740302a1bf53e4e7c47d946f4c (diff)
luci-material-theme: align td text width 33%
The CSS applies a different padding for td elements with 33% width. This misaligns the text from this td to the others td. This change modifies the CSS to apply the same padding to all of the sibling td. Signed-off-by: Miguel Angel Mulero Martinez <migmul@gmail.com>
-rw-r--r--themes/luci-theme-material/htdocs/luci-static/material/cascade.css3
1 files changed, 2 insertions, 1 deletions
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 f6cc45fa5b..f1550b26ad 100644
--- a/themes/luci-theme-material/htdocs/luci-static/material/cascade.css
+++ b/themes/luci-theme-material/htdocs/luci-static/material/cascade.css
@@ -76,7 +76,8 @@
background: inherit;
}
-.td[width="33%"] {
+.td[width="33%"],
+.td[width="33%"]~.td {
padding: 1.1em;
}