Skip to content

Commit 96ca421

Browse files
committed
fixes #773 - allow changing navbar search section styles
1 parent 0a02de1 commit 96ca421

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/css-parts.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ <h2>CSS Parts</h2>
241241
<tr> <td class="blue" style="border:none">Sections</td></tr>
242242
<tr>
243243
<td class="mono">
244-
section-navbar, section-header section-main-content, section-logo, section-overview, label-overview-title,
244+
section-navbar, section-navbar-search section-header section-main-content, section-logo, section-overview, label-overview-title,
245245
section-auth, section-auth-scopes, section-servers, section-tag, section-operations-in-tag, section-operation
246246
</td>
247247
</tr>

src/templates/navbar-template.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export default function navbarTemplate() {
5050
${(this.allowSearch === 'false' && this.allowAdvancedSearch === 'false')
5151
? ''
5252
: html`
53-
<div style="display:flex; flex-direction:row; justify-content:center; align-items:stretch; padding:8px 24px 12px 24px; ${this.allowAdvancedSearch === 'false' ? 'border-bottom: 1px solid var(--nav-hover-bg-color)' : ''}">
53+
<div style="display:flex; flex-direction:row; justify-content:center; align-items:stretch; padding:8px 24px 12px 24px; ${this.allowAdvancedSearch === 'false' ? 'border-bottom: 1px solid var(--nav-hover-bg-color)' : ''}" part="section-navbar-search">
5454
${this.allowSearch === 'false'
5555
? ''
5656
: html`

0 commit comments

Comments
 (0)