-
Notifications
You must be signed in to change notification settings - Fork 93
Get rid of bootstrap overrides #230
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
Conversation
| </head> | ||
| <body> | ||
|
|
||
| <nav class="navbar navbar-light bg-faded"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm, it may be that devs already have configs ID somewhere in their template. I'd rather use CSS class here too like:
<nav class="configs navbar navbar-light bg-faded">
Possible CSS classes duplicating is much better than ID duplicating IMO
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree, will fix this this evening
| #configs { | ||
| padding: 0 2rem; | ||
| } | ||
| .navbar-nav .nav-text{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And actually it won't work :) I suppose it should be:
#configs.navbar-nav .nav-text {
i.e. there should be no space between #configs and .navbar-nav since we're talking about the same tag
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, there is navbar > navbar-nav
See https://github.com/php-translation/symfony-bundle/blob/master/Resources/views/WebUI/base.html.twig#L14
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, really missed it 👍
| width: 6rem; | ||
| } | ||
|
|
||
| .navbar-nav .nav-link { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And the same here
Nyholm
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent. Thank you
If I change the layout to integrate another one, I have some css overrides in webui.css. This remove bootstrap overrides for navbar