"Add Components" on Device and Device Type pages is the wrong size #2116

Closed
opened 2025-12-29 17:22:26 +01:00 by adam · 0 comments
Owner

Originally created by @lampwins on GitHub (Nov 9, 2018).

Environment

  • Python version: 3.7
  • NetBox version: 2.5-beta1

Steps to Reproduce

Navigate to either /dcim/device// or /dcim/device-types//
Notice with eyeballs that the "Add Components" button is slightly smaller than the edit or delete buttons.

screen shot 2018-11-09 at 1 41 22 pm

This is because the element contains a class of both btn and btn-sm when only btn should be used.

Expected Behavior

All action buttons at the top right should be the same size

Observed Behavior

"Add Components" button is slightly smaller than the edit or delete buttons.

Originally created by @lampwins on GitHub (Nov 9, 2018). <!-- NOTE: This form is only for reproducible bugs. If you need assistance with NetBox installation, or if you have a general question, DO NOT open an issue. Instead, post to our mailing list: https://groups.google.com/forum/#!forum/netbox-discuss Please describe the environment in which you are running NetBox. Be sure that you are running an unmodified instance of the latest stable release before submitting a bug report. --> ### Environment * Python version: 3.7 * NetBox version: 2.5-beta1 <!-- Describe in detail the steps that someone else can take to reproduce this bug using the current stable release of NetBox (or the current beta release where applicable). --> ### Steps to Reproduce Navigate to either /dcim/device/<id>/ or /dcim/device-types/<id>/ Notice with eyeballs that the "Add Components" button is slightly smaller than the edit or delete buttons. <img width="303" alt="screen shot 2018-11-09 at 1 41 22 pm" src="https://user-images.githubusercontent.com/1297132/48281886-0e068a80-e426-11e8-8161-f73a7d613f2c.png"> This is because the element contains a class of both `btn` and `btn-sm` when only `btn` should be used. <!-- What did you expect to happen? --> ### Expected Behavior All action buttons at the top right should be the same size <!-- What happened instead? --> ### Observed Behavior "Add Components" button is slightly smaller than the edit or delete buttons.
adam added the type: bugstatus: accepted labels 2025-12-29 17:22:26 +01:00
adam closed this issue 2025-12-29 17:22:26 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#2116