diff options
author | Kevin | 2024-10-07 18:25:59 -0400 |
---|---|---|
committer | GitHub | 2024-10-08 00:25:59 +0200 |
commit | a0f40b3c3c7ab0cb9f0f5f11b94e3679547f6ab4 (patch) | |
tree | 4d8137b12f94f08e1feabe4d9a6125526a5f4461 | |
parent | 6bba3d8e02b95ecee7f9c945b6ee33b4c4ba755d (diff) | |
download | IT.starlight-a0f40b3c3c7ab0cb9f0f5f11b94e3679547f6ab4.tar.gz IT.starlight-a0f40b3c3c7ab0cb9f0f5f11b94e3679547f6ab4.tar.bz2 IT.starlight-a0f40b3c3c7ab0cb9f0f5f11b94e3679547f6ab4.zip |
fix bottom padding in search dialog (#2443)
* add overflow to dialog frame
* add changeset
-rw-r--r-- | .changeset/thin-guests-listen.md | 5 | ||||
-rw-r--r-- | packages/starlight/components/Search.astro | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/.changeset/thin-guests-listen.md b/.changeset/thin-guests-listen.md new file mode 100644 index 00000000..0c92b68c --- /dev/null +++ b/.changeset/thin-guests-listen.md @@ -0,0 +1,5 @@ +--- +'@astrojs/starlight': patch +--- + +Fixes CSS issue where bottom padding is not applied in the search dialog. diff --git a/packages/starlight/components/Search.astro b/packages/starlight/components/Search.astro index c07c6cb6..e00bec07 100644 --- a/packages/starlight/components/Search.astro +++ b/packages/starlight/components/Search.astro @@ -231,6 +231,8 @@ const pagefindTranslations = { } .dialog-frame { + position: relative; + overflow: auto; flex-direction: column; flex-grow: 1; gap: 1rem; |