Explorar o código

Stewart: Tidy up navigation (#5265)

* Tidy up navigation

* Change area of the sidebar template part.
Kjell Reigstad %!s(int64=3) %!d(string=hai) anos
pai
achega
6fb4db5092
Modificáronse 2 ficheiros con 2 adicións e 6 borrados
  1. 1 5
      stewart/parts/sidebar.html
  2. 1 1
      stewart/theme.json

+ 1 - 5
stewart/parts/sidebar.html

@@ -9,11 +9,7 @@
 <hr class="wp-block-separator is-style-wide"/>
 <!-- /wp:separator -->
 
-<!-- wp:spacer {"height":1} -->
-<div style="height:1px" aria-hidden="true" class="wp-block-spacer"></div>
-<!-- /wp:spacer -->
-
-<!-- wp:navigation {"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"left","orientation":"vertical"},"style":{"spacing":{"blockGap":"0px"}}} -->
+<!-- wp:navigation {"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"left","orientation":"vertical"},"style":{"spacing":{"blockGap":"0px"}},"overlayBackgroundColor":"background","overlayTextColor":"foreground"} -->
 <!-- wp:page-list {"isNavigationChild":true,"showSubmenuIcon":true,"openSubmenusOnClick":false} /-->
 <!-- /wp:navigation -->
 

+ 1 - 1
stewart/theme.json

@@ -14,7 +14,7 @@
 		{
 			"name": "sidebar",
 			"title": "Sidebar",
-			"area": "sidebar"
+			"area": "uncategorized"
 		},
 		{
 			"name": "footer",