Search shortcut for Windows is broken
kiaking opened this issue · 4 comments
kiaking commented
Jinjiang commented
Seems it's normal now and the shortcut works on my Windows laptop.
@kiaking would you mind a double-check? :-)
Update: I found when you activate the search bar once, the "ctrl" will be changed from a text (my screenshot) into a SVG icon (@kiaking 's screenshot), which looks a little bit smaller. Same to the "meta" on macOS. I feel it's a feature, not a bug.
brc-dd commented
Might wanna backport this: vuejs/vitepress#986
Jinjiang commented
I found another difference is @vue/theme
uses <span>
s rather than <kbd>
s to render the keys. As a result, it shows different styles before and after the actual search box is loaded.
PR created. #71
yyx990803 commented
Closing as it seems to have been fixed