File tree 2 files changed +15
-17
lines changed
2 files changed +15
-17
lines changed Original file line number Diff line number Diff line change 12
12
</ svg >
13
13
</ a >
14
14
15
- < label for ="category-selector "> Category:</ label >
16
- < select class ="category-dropdown " name ="category-selector " onChange ="location.href=value; ">
17
- {% for category in site.data.plugins %}
18
- < option value ="#{{ category.id }} "> {{ category.name }}</ option >
19
- {% endfor %}
20
- </ select >
21
-
22
- < div class ="trigger ">
23
- <!--
24
- {% for page in site.pages %}
25
- {% if page.title %}
26
- <a class="page-link" href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a>
27
- {% endif %}
28
- {% endfor %}
29
- -->
15
+ < div class ="dropdown ">
16
+ < label for ="category-selector " class ="category-dropdown-label "> Category:</ label >
17
+ < select class ="category-dropdown " name ="category-selector " onChange ="location.href=value; ">
18
+ {% for category in site.data.plugins %}
19
+ < option value ="#{{ category.id }} "> {{ category.name }}</ option >
20
+ {% endfor %}
21
+ </ select >
30
22
</ div >
23
+
31
24
</ nav >
32
25
33
26
</ div >
Original file line number Diff line number Diff line change 231
231
}
232
232
233
233
.category-dropdown {
234
- width : 200 px ;
234
+ width : 60 % ;
235
235
height : 40px ;
236
236
border-color : rgb (235 , 230 , 230 );
237
237
font-size : 15px ;
238
- position : relative ;
239
238
}
240
239
240
+ @media screen and (max-width : 600px ) {
241
+ .dropdown {
242
+ display : none ;
243
+ }
244
+ }
245
+
241
246
html {
242
247
scroll-behavior : smooth ;
243
248
}
You can’t perform that action at this time.
0 commit comments