Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Container prefix and caret are shown in different lines #1389

Closed
luisepbueno opened this issue Aug 3, 2017 · 2 comments
Closed

Container prefix and caret are shown in different lines #1389

luisepbueno opened this issue Aug 3, 2017 · 2 comments
Labels
type: bug A confirmed report of unexpected behavior in the application

Comments

@luisepbueno
Copy link

Issue type: bug report

**Python version: 2.7
**NetBox version: 2.1.0

In /ipam/prefix, the right caret and the container prefix are shown in different lines. Adding style "white-space: no-wrap" to span inside should fix it.

image

@jeremystretch
Copy link
Member

I'm not able to recreate this. If the page is less than a certain width, the table should scroll horizontally.

@luisepbueno
Copy link
Author

luisepbueno commented Aug 4, 2017

It seems to happen only in Google Chrome. I couldn't recreate in Firefox.

Up to 767px screen width it works fine. For wider screens, the white-space: nowrap is removed due the media query below and the line breaks.

@media screen and (max-width: 767px)
bootstrap.css:2454
.table-responsive>.table>tbody>tr>td, .table-responsive>.table>tbody>tr>th, .table-responsive>.table>tfoot>tr>td, .table-responsive>.table>tfoot>tr>th, .table-responsive>.table>thead>tr>td, .table-responsive>.table>thead>tr>th {
white-space: nowrap;
}

@jeremystretch jeremystretch added type: feature Introduction of new functionality to the application type: bug A confirmed report of unexpected behavior in the application and removed awaiting reply type: feature Introduction of new functionality to the application labels Aug 7, 2017
@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

No branches or pull requests

2 participants