"Map"-button on site addresses with multiple lines is extended #9819

Closed
opened 2025-12-29 21:23:08 +01:00 by adam · 2 comments
Owner

Originally created by @RasmusThing on GitHub (Jun 8, 2024).

Originally assigned to: @jeremystretch on GitHub.

Deployment Type

Self-hosted

NetBox Version

v4.0.5

Python Version

3.11

Steps to Reproduce

When an address is added to a site object in NetBox and the address contains new lines, the Map button is messed up.

Expected Behavior

In NetBox pre-version 4, the button height was normalized and in center.
image

Observed Behavior

Button height is extended and the text is not in center.
image

Originally created by @RasmusThing on GitHub (Jun 8, 2024). Originally assigned to: @jeremystretch on GitHub. ### Deployment Type Self-hosted ### NetBox Version v4.0.5 ### Python Version 3.11 ### Steps to Reproduce When an address is added to a site object in NetBox and the address contains new lines, the **Map** button is messed up. ### Expected Behavior In NetBox pre-version 4, the button height was normalized and in center. <img width="690" alt="image" src="https://github.com/netbox-community/netbox/assets/11932377/a9a5283a-c776-4086-a879-0743358b9e08"> ### Observed Behavior Button height is extended and the text is not in center. <img width="690" alt="image" src="https://github.com/netbox-community/netbox/assets/11932377/53f8db81-e3e9-4d7d-bb4a-6d874e01669f">
adam added the type: bugstatus: acceptedtopic: UI/UXseverity: low labels 2025-12-29 21:23:08 +01:00
adam closed this issue 2025-12-29 21:23:08 +01:00
Author
Owner

@jbakklund commented on GitHub (Jun 27, 2024):

The 'Map' button for GPS coordinates is still bigger than the other buttons in this view. It would look more consistent if this button also used the "btn-sm" class.

@jbakklund commented on GitHub (Jun 27, 2024): The 'Map' button for GPS coordinates is still bigger than the other buttons in this view. It would look more consistent if this button also used the "btn-sm" class.
Author
Owner

@ghost commented on GitHub (Sep 4, 2024):

The 'Map' button for GPS coordinates is still bigger than the other buttons in this view. It would look more consistent if this button also used the "btn-sm" class.

https://github.com/netbox-community/netbox/issues/17353

@ghost commented on GitHub (Sep 4, 2024): > The 'Map' button for GPS coordinates is still bigger than the other buttons in this view. It would look more consistent if this button also used the "btn-sm" class. https://github.com/netbox-community/netbox/issues/17353
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#9819