-
-
Notifications
You must be signed in to change notification settings - Fork 78.8k
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
Add align self to navbar brand #21626
Conversation
@@ -28,6 +28,7 @@ | |||
// Used for brand, project, or site names. | |||
|
|||
.navbar-brand { | |||
align-self: flex-start; |
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.
Properties should be ordered display, align-self, padding-top, padding-bottom, margin-right, font-size, line-height, white-space
THIS. |
I imagine we'll have issues when folks collapse a navbar without a |
* commit 'cfb25f6995160d1ba03da23c3a01446844f45fec': Add aria-label to docs search field Remove random cursor: default from pill nav (twbs#21835) Allow button toolbars to wrap (twbs#21826) fixes twbs#21567 grunt (fixes twbs#21819) Add align self to navbar brand (twbs#21626) Rename order utilities to intended class names (twbs#21739) Pixel perfect navbar toggler (twbs#21821) Update _custom.scss imports in other builds (twbs#21825) Allow flex-based navs to wrap like they used to (twbs#21824) Remove `cursor: pointer;` (twbs#21812)
* bootstrap/v4-dev: (979 commits) Add aria-label to docs search field Remove random cursor: default from pill nav (twbs#21835) Allow button toolbars to wrap (twbs#21826) fixes twbs#21567 grunt (fixes twbs#21819) Add align self to navbar brand (twbs#21626) Rename order utilities to intended class names (twbs#21739) Pixel perfect navbar toggler (twbs#21821) Update _custom.scss imports in other builds (twbs#21825) Allow flex-based navs to wrap like they used to (twbs#21824) Remove `cursor: pointer;` (twbs#21812) Fix body padding in Dashboard and Jumbotron examples. Move htmllint to npm script. Change to markdown (twbs#21815) Change header to use markdown (twbs#21809) Update grid layout docs (twbs#21806) grunt Drop Normalize, port relevant parts to Reboot (twbs#21741) grunt Fix container within navbar on smallest breakpoint (twbs#21722) ...
* bootstrap/v4-dev: (979 commits) Add aria-label to docs search field Remove random cursor: default from pill nav (twbs#21835) Allow button toolbars to wrap (twbs#21826) fixes twbs#21567 grunt (fixes twbs#21819) Add align self to navbar brand (twbs#21626) Rename order utilities to intended class names (twbs#21739) Pixel perfect navbar toggler (twbs#21821) Update _custom.scss imports in other builds (twbs#21825) Allow flex-based navs to wrap like they used to (twbs#21824) Remove `cursor: pointer;` (twbs#21812) Fix body padding in Dashboard and Jumbotron examples. Move htmllint to npm script. Change to markdown (twbs#21815) Change header to use markdown (twbs#21809) Update grid layout docs (twbs#21806) grunt Drop Normalize, port relevant parts to Reboot (twbs#21741) grunt Fix container within navbar on smallest breakpoint (twbs#21722) ...
#22230 fixes this. |
This PR fixes navbar brand width. Problem is that after navbar collapsed, link become full width:
So, after adding
align-self: flex-start;
to.navbar-brand
it will have its normal width:Fixes #21621.