From patchwork Wed Dec 20 03:06:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Frysinger X-Patchwork-Id: 82546 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A36B8385E010 for ; Wed, 20 Dec 2023 03:06:18 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by sourceware.org (Postfix) with ESMTP id B9BB23857BA2 for ; Wed, 20 Dec 2023 03:06:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B9BB23857BA2 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gentoo.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org B9BB23857BA2 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2001:470:ea4a:1:5054:ff:fec7:86e4 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703041565; cv=none; b=hK9gYe6BQrGXLGbmXI4kgeJB04ty28ZEh7l2nD1ruZcxYtICQ/7RkFlE6yz3hLDWIZFhNNynhu7XnDe8wf50Gh0HjPcU6+RhTqjWD9sYUbqDMpI6GqFepZp9WTLle8/ojkvNJXm2TnpsB7z1pBD5DFYFyL5epzuvexLlP6GqZK8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703041565; c=relaxed/simple; bh=5ZQtDTUUcVaElUYgAQwxGiYsiy4cGvD6byFPrElv0jc=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=UGNH5xDPDkT8l74JndnSayUjmIH/82BTEig9dXrfTlhRHZfeyc5xpHyImcKXx9OLs+jZYEJMa2aW4RS+4h38FDpCYpA44dVcGuop2/M+1+T2gD1K1/uyfyQXG2JLn4K+aB/UYMcQ7M+/t95nLXtACVLtR3so8i7ESxMYgLbStdM= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by smtp.gentoo.org (Postfix, from userid 559) id 1269D33BE3B; Wed, 20 Dec 2023 03:06:03 +0000 (UTC) From: Mike Frysinger To: libc-alpha@sourceware.org Subject: [PATCH htdocs] menu: fix spacing when wrapping links Date: Tue, 19 Dec 2023 22:06:01 -0500 Message-ID: <20231220030601.31461-1-vapier@gentoo.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Spam-Status: No, score=-9.3 required=5.0 tests=BAYES_20, GIT_PATCH_0, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org On narrow pages, as the links wrap around, they start to overlap each other makes it visually hard to distinguish & click. Set the line-height to 2em which offsets the padding used so that they do not overlap when wrapping, but the original amount of padding above and below do not change. --- glibc.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glibc.css b/glibc.css index 817276a09851..be710b38586b 100644 --- a/glibc.css +++ b/glibc.css @@ -35,16 +35,16 @@ h1.title { border-right:1px solid #000; border-left:1px solid #000; border-bottom:0px solid #000; - padding: 10px 10px 10px 10px; + padding: 5px 10px 5px 10px; voice-family: "\"}\""; voice-family: inherit; margin-left: 51px; margin-right:51px; margin-bottom:0px; - padding-bottom:10px; } ul.menu { + line-height: 2em; list-style-type:none; margin:0px; padding:0px;