Skip to content

Commit 0548922

Browse files
committed
Fix linter
1 parent 8d053d1 commit 0548922

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

src/css/doc.css

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,9 @@ h1.page + aside.toc.embedded {
720720
background: var(--kbd-background);
721721
border: 1px solid var(--kbd-border-color);
722722
border-radius: 0.25em;
723-
box-shadow: 0 1px 0 var(--kbd-border-color), 0 0 0 0.1em var(--body-background) inset;
723+
box-shadow:
724+
0 1px 0 var(--kbd-border-color),
725+
0 0 0 0.1em var(--body-background) inset;
724726
padding: 0.25em 0.5em;
725727
vertical-align: text-bottom;
726728
white-space: nowrap; /* effectively ignores hyphens setting */
@@ -791,7 +793,7 @@ html.dark-theme .doc img {
791793
margin-right: 10px;
792794
}
793795
.doc details .title {
794-
padding: .5rem 1rem;
796+
padding: 0.5rem 1rem;
795797
cursor: pointer;
796798
}
797799

@@ -803,4 +805,4 @@ html.dark-theme .doc img {
803805
border-top: 1px solid var(--toc-border-color);
804806
padding: 1rem;
805807
padding-top: 0;
806-
}
808+
}

src/js/vendor/search.bundle.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,11 @@
170170
loadingIndicator.textContent = 'Loading...'
171171
const button = document.createElement('button')
172172
button.classList.add('ais-SearchBox-reset')
173-
button.innerHTML = '<svg class="ais-SearchBox-resetIcon" viewBox="0 0 20 20" width="10" height="10" aria-hidden="true"><path d="M8.114 10L.944 2.83 0 1.885 1.886 0l.943.943L10 8.113l7.17-7.17.944-.943L20 1.886l-.943.943-7.17 7.17 7.17 7.17.943.944L18.114 20l-.943-.943-7.17-7.17-7.17 7.17-.944.943L0 18.114l.943-.943L8.113 10z"></path></svg>'
173+
button.innerHTML = '<svg class="ais-SearchBox-resetIcon" viewBox="0 0 20 20"' +
174+
' width="10" height="10" aria-hidden="true"><path d="M8.114 10L.944 2.83 0 1.885' +
175+
' 1.886 0l.943.943L10 8.113l7.17-7.17.944-.943L20 1.886l-.943.943-7.17 7.17 7.17' +
176+
' 7.17.943.944L18.114 20l-.943-.943-7.17-7.17-7.17 7.17-.944.943L0 18.114l.943-.943' +
177+
'L8.113 10z"></path></svg>'
174178
input.addEventListener('keydown', (event) => {
175179
switch (event.keyCode) {
176180
case 40: // Down

0 commit comments

Comments
 (0)