soames-astro-theme 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "soames-astro-theme",
3
3
  "type": "module",
4
- "version": "0.1.2",
4
+ "version": "0.1.3",
5
5
  "description": "Shared Astro theme for the Soames ecosystem (WordPress headless + React islands). Successor to soames-gatsby-theme.",
6
6
  "keywords": [
7
7
  "astro",
@@ -1108,9 +1108,23 @@ section.lazy-placeholder:after {
1108
1108
  padding: 0;
1109
1109
  }
1110
1110
 
1111
- /* Nested levels indent under their parent. */
1111
+ /* Own the vertical rhythm locally instead of inheriting the global `ul li`
1112
+ margin from wordpress-blocks.css. That global margin is cancelled on a
1113
+ submenu's first item by `.soames-docs-menu { margin: 0 }`, which left the
1114
+ first link under a parent with no gap above it. Reset it, then apply one
1115
+ uniform step between every item. */
1116
+ .soames-docs-menu-item {
1117
+ margin: 0;
1118
+ }
1119
+ .soames-docs-menu-item + .soames-docs-menu-item {
1120
+ margin-top: 1rem;
1121
+ }
1122
+
1123
+ /* Nested levels indent under their parent, and sit a full step below the parent
1124
+ link so the first child matches the spacing between all other items. */
1112
1125
  .soames-docs-submenu {
1113
1126
  margin-left: 0.85rem;
1127
+ margin-top: 1rem;
1114
1128
  }
1115
1129
 
1116
1130
  .soames-docs-menu-item > a {