File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -50,8 +50,8 @@ if (searchTags.length === 0) {
50
50
}
51
51
---
52
52
53
- <div >
54
- <dialog id = " site-search " >
53
+ <div id = " site-search " >
54
+ <dialog >
55
55
<input type =" search" placeholder =" Search..." autofocus />
56
56
<div class =" suggestions" tabindex =" -1" >
57
57
{
@@ -73,11 +73,11 @@ if (searchTags.length === 0) {
73
73
import { SearchDialog } from "~/classes/SearchDialog";
74
74
import { assertElement } from "~/util/DOM";
75
75
76
- new SearchDialog(assertElement<HTMLDialogElement>("dialog #site-search"));
76
+ new SearchDialog(assertElement<HTMLDialogElement>("#site-search dialog "));
77
77
</script >
78
78
79
79
<style lang =" scss" >
80
- dialog #site-search {
80
+ #site-search dialog {
81
81
display: none;
82
82
width: 60%;
83
83
height: 60%;
@@ -98,6 +98,7 @@ if (searchTags.length === 0) {
98
98
display: grid;
99
99
}
100
100
input[type="search"] {
101
+ font-family: Poppins;
101
102
width: 100%;
102
103
font-size: 1.5em;
103
104
margin: auto;
@@ -156,7 +157,7 @@ if (searchTags.length === 0) {
156
157
}
157
158
158
159
@media screen and (max-width: 1000px) {
159
- dialog #site-search {
160
+ #site-search dialog {
160
161
width: 100%;
161
162
}
162
163
}
You can’t perform that action at this time.
0 commit comments