Open davidsneighbour opened 1 year ago
This looks like a reasonable change 👍 I'll roll with the span with a class.
(In general, this level of styling is why the Modular UI is under development, but adding some spans is a transparent enough change that I'm happy to add that to the default UI)
_(Self note for implementation: these strings are sourced from the translation files, so the default UI will need to wrap the [COUNT]
and the [SEARCH_TERM]
placeholders in spans before processing)_
The output for the search term "something" is the following HTML in the PagefindUI:
Better would be
or
so the search term can be visually distinct.
Bonus points for wrapping the "75 results" too into something designable.