File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -12,9 +12,11 @@ const { hasSidebar } = Astro.locals.starlightRoute;
1212 <nav class = " sidebar print:hidden" aria-label = { Astro .locals .t (" sidebarNav.accessibleLabel" )} >
1313 <MobileMenuToggle />
1414 <div id = " starlight__sidebar" class = " sidebar-pane" >
15- <div class = " dropdown-wrapper" >
16- <TopicsDropdown />
17- </div >
15+ { Astro .locals .starlightSidebarTopics .isPageWithTopic && (
16+ <div class = " dropdown-wrapper" >
17+ <TopicsDropdown />
18+ </div >
19+ )}
1820 <div class = " sidebar-content sl-flex" >
1921 <slot name = " sidebar" />
2022 </div >
Original file line number Diff line number Diff line change 1818}
1919
2020/* make images in markup wide and centered */
21- .sl-markdown-content img {
21+ .sl-markdown-content img : not ( : where (. not-content * )) {
2222 margin : 0 auto;
2323}
24- .sl-markdown-content img : not ([alt = "Diagram" ]) {
24+ .sl-markdown-content img : not (: where (. not-content * )) : not ( [alt = "Diagram" ]) {
2525 width : 100% ;
2626}
2727.sl-markdown-content .img-inline img {
You can’t perform that action at this time.
0 commit comments