From 880ed14c6887464c1200f146a871e8cfae896638 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Sat, 23 Sep 2023 21:02:19 +0200 Subject: [PATCH] css: avoid search button overflow, always center h1 --- common.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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; -- 2.39.2