Skip to content

Commit 0e388fd

Browse files
committed
Match SDK switcher triangle, spacing and label styling
1 parent 437516a commit 0e388fd

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

‎docs/stylesheets/layout.css‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -373,12 +373,16 @@ a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visibl
373373

374374
.dw-sdk-switcher summary {
375375
cursor: pointer;
376-
gap: 6px;
377-
font-weight: 600;
378-
color: var(--dw-ink);
376+
font-weight: 400;
379377
list-style: none;
380378
}
381379

380+
.dw-sdk-indicator {
381+
font-size: .8em;
382+
line-height: 1;
383+
vertical-align: middle;
384+
}
385+
382386
.dw-sdk-switcher summary::-webkit-details-marker {
383387
display: none;
384388
}

‎overrides/partials/header.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<nav class="dw-global-nav" aria-label="Global navigation">
88
<a href="https://durable-workflow.com/docs/introduction/">Docs</a>
99
<details class="dw-sdk-switcher" data-sdk-switcher>
10-
<summary aria-label="SDK documentation, current SDK Python">SDKs <span aria-hidden="true">⌄</span></summary>
10+
<summary aria-label="SDK documentation, current SDK Python"><span>SDKs <span class="dw-sdk-indicator" aria-hidden="true">▾</span></span></summary>
1111
<ul>
1212
<li><a href="https://python.durable-workflow.com/" aria-current="location">Python <span aria-hidden="true">✓</span></a></li>
1313
<li><a href="https://rust.durable-workflow.com/">Rust</a></li>

0 commit comments

Comments
 (0)