-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Removing .container fixed width values makes column size depend on content #2950
Comments
Here's how I did something similar (if I understand your question):
|
@RasdanJames That works, but then there's no max-width. As I understand it, a According to the docs the only difference between an ordinary I can solve my problem by setting the width of my container to 100%. I wonder though whether this is the (new) intended behaviour? |
Maybe we need an |
That's what I did for those times when I need it. I created is-full-width globally for any tag. It already exists but it's not universal, so that made it universal. |
This bit me in the ass today. I upgraded from 0.7.4 to 0.7.5 and tons of our layouts broke. Super frustrating. @jgthms What was your reasoning for removing the |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Would it be possible to add an |
This is about Bulma.
Overview of the problem
This is about the Bulma CSS framework
I'm using Bulma version 0.8.2.
My browser is: Safari, Chrome, Firefox
Description
I just upgraded from 0.7.2 to 0.8.2 and my single-column layouts have gone wrong.
On my login page I want the form to be horizontally centered, and take up half the width of the page.
This worked well with 0.7.2. However after 0.7.5 and #2297, a column with a size modifier no longer has a predictable width.
If the login form has some text blurb which is "long", the form behaves as expected.
But if the login form doesn't have any wide child elements, the form shrinks to the width of the input fields which is far less than half the width of the container. It looks weird.
This seems to be because the desktop container used to have a fixed width of 960px but now its width is auto.
In the screenshots the container has a blue outline; and the
.columns
div has a green outline; and the.column
has an orange outline.Expected behavior
The container should be the width of the screen.
Actual behavior
The container shrinks its width, causing my
.is-half
column, when not containing any long text, to shrink to half the width the container chose.The text was updated successfully, but these errors were encountered: