summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Swithinbank2023-06-04 20:55:56 +0200
committerChris Swithinbank2023-06-04 20:55:56 +0200
commit8805fbf30a2c26208aaf6d29ee53586f2dbf6cce (patch)
tree9e1b05116639d3f70cdcd11b8ac7cd376920c522
parenta6490ba37bc760877a1c1c22d1b1d121f14b09f4 (diff)
downloadIT.starlight-8805fbf30a2c26208aaf6d29ee53586f2dbf6cce.tar.gz
IT.starlight-8805fbf30a2c26208aaf6d29ee53586f2dbf6cce.tar.bz2
IT.starlight-8805fbf30a2c26208aaf6d29ee53586f2dbf6cce.zip
Add box-shadow to prev/next page links as per designs
-rw-r--r--.changeset/rare-olives-hang.md5
-rw-r--r--packages/starlight/components/PrevNextLinks.astro1
2 files changed, 6 insertions, 0 deletions
diff --git a/.changeset/rare-olives-hang.md b/.changeset/rare-olives-hang.md
new file mode 100644
index 00000000..b2da029c
--- /dev/null
+++ b/.changeset/rare-olives-hang.md
@@ -0,0 +1,5 @@
+---
+"@astrojs/starlight": patch
+---
+
+Add box-shadow to prev/next page links as per designs
diff --git a/packages/starlight/components/PrevNextLinks.astro b/packages/starlight/components/PrevNextLinks.astro
index 76847f91..fe6329a3 100644
--- a/packages/starlight/components/PrevNextLinks.astro
+++ b/packages/starlight/components/PrevNextLinks.astro
@@ -61,6 +61,7 @@ const t = useTranslations(locale);
padding: 1rem;
text-decoration: none;
color: var(--sl-color-gray-2);
+ box-shadow: var(--sl-shadow-md);
}
[rel='next'] {
justify-content: end;