You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the search bar to find a page, the search suggestion highlight seems to remove the space between the highlight span and regular text if the search includes a full word from the title.
Steps to reproduce the behavior:
Go to Search
Type a partial search that includes a full word from an article title.
Notice how the space between the highlighted word and the rest of the title is gone.
I would expect that the space between the highlighted word and the rest of the title would be maintained.
Temp Fix
I was able to work around this by adding display:block to the .citizen-typeahead-suggestion__title and .citizen-typeahead-suggestion__description classes in CSS.
Before:
Temp Fix:
After:
System
MediaWiki version 1.37.1
Server OS: Windows Server 2012 R2
PHP version 7.4.29
The text was updated successfully, but these errors were encountered:
Describe the Bug
When using the search bar to find a page, the search suggestion highlight seems to remove the space between the highlight span and regular text if the search includes a full word from the title.
Steps to reproduce the behavior:
I'm able to replicate this on the starcitizen.tools wiki as well.
Expected Behavior
I would expect that the space between the highlighted word and the rest of the title would be maintained.
Temp Fix
I was able to work around this by adding
display:block
to the.citizen-typeahead-suggestion__title
and.citizen-typeahead-suggestion__description
classes in CSS.Before:
Temp Fix:
After:
System
The text was updated successfully, but these errors were encountered: