Vanessa 2022-11-30 11:29:07 +08:00
parent 02d97326b6
commit 4f25021884
2 changed files with 9 additions and 3 deletions

View file

@ -21,7 +21,7 @@
position: relative;
border-bottom: 1px solid var(--b3-theme-surface-lighter);
&:hover .block__icon {
.block__icon {
opacity: 1;
}
@ -87,6 +87,12 @@
border-top: 1px solid var(--b3-theme-surface-lighter);
}
&__result {
white-space: nowrap;
margin-left: 5px;
line-height: 24px;
}
&__list {
position: relative;
flex: 1;

View file

@ -132,8 +132,8 @@ export const genSearch = (config: ISearchOption, element: Element, closeCB?: ()
<div class="fn__space"></div>
<div id="replaceHistoryList" data-close="false" class="fn__none b3-menu b3-list b3-list--background"></div>
</div>
<div class="fn__flex" style="margin: 8px">
<span id="searchResult" style="white-space: nowrap;margin-left: 9px"></span>
<div class="fn__flex search__header" style="padding: 4px 8px;">
<span id="searchResult" class="search__result"></span>
<span class="fn__space"></span>
<span class="fn__flex-1"></span>
<span id="searchPathInput" class="search__path ft__on-surface fn__flex-center ft__smaller fn__ellipsis" title="${config.hPath}">