Remove padding from search-highlight #11021

Closed
opened 2025-12-29 21:39:16 +01:00 by adam · 1 comment
Owner

Originally created by @PieterL75 on GitHub (Apr 14, 2025).

Originally assigned to: @jeremystretch on GitHub.

Deployment Type

NetBox Cloud

NetBox Version

v4.2.4

Python Version

3.12

Steps to Reproduce

Some time ago https://github.com/netbox-community/netbox/issues/11682 got implemented.
This removed the padding of the highlited section in the search results.

However, it seems that this is no longer the case, and the padding is back.
https://demo.netbox.dev/search/?q=DM
Image

Expected Behavior

No padding around the keyword of the searchresult, only highlight

Image

Observed Behavior

Highlights are padded and looking fuzzy

Originally created by @PieterL75 on GitHub (Apr 14, 2025). Originally assigned to: @jeremystretch on GitHub. ### Deployment Type NetBox Cloud ### NetBox Version v4.2.4 ### Python Version 3.12 ### Steps to Reproduce Some time ago https://github.com/netbox-community/netbox/issues/11682 got implemented. This removed the padding of the highlited section in the search results. However, it seems that this is no longer the case, and the padding is back. https://demo.netbox.dev/search/?q=DM ![Image](https://github.com/user-attachments/assets/6c548372-72e4-4a7a-af85-785035a583b5) ### Expected Behavior No padding around the keyword of the searchresult, only highlight ![Image](https://github.com/user-attachments/assets/f1f5f2e1-0fc9-4b37-a40e-d217914b12d6) ### Observed Behavior Highlights are padded and looking fuzzy
adam added the type: bugstatus: acceptedseverity: low labels 2025-12-29 21:39:16 +01:00
adam closed this issue 2025-12-29 21:39:16 +01:00
Author
Owner

@jeremystretch commented on GitHub (Apr 14, 2025):

However, it seems that this is no longer the case, and the padding is back.

It probably got overlooked during the transition to the Tabler theme in v4.0.

@jeremystretch commented on GitHub (Apr 14, 2025): > However, it seems that this is no longer the case, and the padding is back. It probably got overlooked during the transition to the Tabler theme in v4.0.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#11021