From: Paul Hänsch Date: Sat, 23 Sep 2023 19:02:19 +0000 (+0200) Subject: css: avoid search button overflow, always center h1 X-Git-Url: http://git.plutz.net/?p=cgilite;a=commitdiff_plain;h=880ed14c6887464c1200f146a871e8cfae896638 css: avoid search button overflow, always center h1 --- diff --git a/common.css b/common.css index 61d8caa..6f4c484 100644 --- a/common.css +++ b/common.css @@ -79,7 +79,10 @@ h4, h5, h6, form legend { margin-bottom: .25em; } -h1 { font-size: 1.5em; } +h1 { + text-align: center; + font-size: 1.5em; +} h2 { font-size: 1.125em; } select, input, button, textarea, a.button { @@ -120,6 +123,7 @@ input.search + button.search { border-left: none; border-radius: 0 2pt 2pt 0; white-space: nowrap; + overflow: hidden; } input.search + button.search:before { content: '\1f50d'; @@ -130,8 +134,6 @@ input.search + button.search:before { @media print { @page { margin: 20mm; } - h1 { text-align: center; } - h1, h2, h3, h4, h5, h6, form legend { page-break-inside: avoid; page-break-after: avoid;