From d0f8c682a4bcfd2c2a32792b057a5100dd330fcf Mon Sep 17 00:00:00 2001 From: Anthony Johnson Date: Wed, 18 Jun 2025 08:18:52 -0700 Subject: [PATCH] Equalize flyout grid spacing The version and language looked a little heavy on margin compared to the logo. This reduced the grid gap to bring these closer together and spaces out the logo to make the gap more equal. --- src/flyout.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/flyout.css b/src/flyout.css index 48e9441d..fd5c06d7 100644 --- a/src/flyout.css +++ b/src/flyout.css @@ -66,7 +66,7 @@ header { display: flex; flex-flow: row nowrap; - gap: 1em; + gap: 0.5em; align-items: center; cursor: pointer; background-color: var(--readthedocs-flyout-background-color); @@ -80,6 +80,7 @@ header > img.logo { max-height: 1.5em; width: auto; padding: 0.5em 0em; + margin-right: 0.75em; /* Don't grow past content size, do shrink down to min-content */ flex: 0 1 auto; }