luci-theme-material: Fix section title padding.

After moving section title from `legend`, which was translated to `span`
with style `panel-title`, to `h3`, update also CSS style to match first
`h3` in `cbi-section`.

Signed-off-by: Oldřich Jedlička <oldium.pro@gmail.com>
This commit is contained in:
Oldřich Jedlička 2020-10-25 12:11:24 +01:00
parent 4775d1ad22
commit b03a508c6c

View file

@ -754,7 +754,6 @@ fieldset > fieldset,
border-bottom: thin solid #eee; border-bottom: thin solid #eee;
} }
.cbi-section > h3:first-child,
.cbi-section > h4:first-child, .cbi-section > h4:first-child,
.cbi-section > p:first-child, .cbi-section > p:first-child,
[data-tab-title] > h3:first-child, [data-tab-title] > h3:first-child,
@ -2547,6 +2546,7 @@ input[name="nslookup"] {
padding: .2rem .5rem; padding: .2rem .5rem;
} }
.cbi-section > h3:first-child,
.panel-title { .panel-title {
font-size: 1.1rem; font-size: 1.1rem;
padding-bottom: 1rem; padding-bottom: 1rem;
@ -2951,6 +2951,7 @@ input[name="nslookup"] {
display: none; display: none;
} }
.cbi-section > h3:first-child,
.panel-title { .panel-title {
font-size: 1.4rem; font-size: 1.4rem;
padding-bottom: 1rem; padding-bottom: 1rem;