Skip to content

Commit

Permalink
docs: pr fix indentation and whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
nv-jbleau committed Apr 6, 2021
1 parent 5e26425 commit 7930557
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 14 deletions.
14 changes: 6 additions & 8 deletions doc/templates/uno/styles/docfx.js
Original file line number Diff line number Diff line change
Expand Up @@ -486,14 +486,12 @@ $(function () {
$('#search').show();
$('body').trigger("searchEvent");
}
// if the target of the click isn't the container nor a descendant of the container
$('body').mouseup(function (e) {
if (!$('#search-results').is(e.target) && $('#search-results').has(e.target).length === 0)
{
$('#search-results').hide();
}
});

// if the target of the click isn't the container nor a descendant of the container
$('body').mouseup(function (e) {
if (!$('#search-results').is(e.target) && $('#search-results').has(e.target).length === 0) {
$('#search-results').hide();
}
});
});
}
}
Expand Down
3 changes: 1 addition & 2 deletions doc/templates/uno/styles/scss/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,12 @@ h3 {
outline: none;
border:2px solid #159bff;
}

}

#search-query {
border-radius: 6px;
height: 45px;
width: 100%;

}

#search-results {
Expand All @@ -112,6 +110,7 @@ h3 {
margin-bottom: 0;
}
}

p {
margin: 10px;
}
Expand Down
8 changes: 4 additions & 4 deletions doc/templates/uno/toc.html.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<div>
<div class="sidefilter">
<form role="search" id="search" >
<input type="text" id="search-query" autocomplete="off" placeholder="Search Docs..." onsubmit="if(event.keyCode==13) {return false;}">
<input type="text" id="search-query" autocomplete="off" placeholder="Search Docs..." onsubmit="if(event.keyCode==13) {return false;}">
</form>
<div id="search-results">
<div class="sr-items"></div>
</div>
<div id="search-results">
<div class="sr-items"></div>
</div>
</div>
<div class="sidetoc">
<div class="toc" id="toc">
Expand Down

0 comments on commit 7930557

Please sign in to comment.