diff options
author | 2022-01-31 22:28:58 +0100 | |
---|---|---|
committer | 2022-01-31 16:28:58 -0500 | |
commit | d8b50c9e689774b410916b8aa5a605958ba0782e (patch) | |
tree | 5f712ac98b3c948c5d613886e4bc5c9e78309357 | |
parent | 1e746e1071450eb78d0d67fb958471748b970645 (diff) | |
download | astro-d8b50c9e689774b410916b8aa5a605958ba0782e.tar.gz astro-d8b50c9e689774b410916b8aa5a605958ba0782e.tar.zst astro-d8b50c9e689774b410916b8aa5a605958ba0782e.zip |
Missing '&' in example of scoped styles (#2485)
Style is written in SCSS, so there is missing '&' in nesting data-theme
-rw-r--r-- | docs/src/pages/en/guides/styling.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/src/pages/en/guides/styling.md b/docs/src/pages/en/guides/styling.md index 7b7e8b612..5687ff7b8 100644 --- a/docs/src/pages/en/guides/styling.md +++ b/docs/src/pages/en/guides/styling.md @@ -355,7 +355,7 @@ const { theme } = Astro.props; <style lang="scss"> .btn { /* ✅ <Button> is now back in control of its own styling again! */ - [data-theme='nav'] { + &[data-theme='nav'] { // nav-friendly styles here… } } |