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

12 columns system not taking full length of container #3743

Open
idybil opened this issue Mar 24, 2024 · 3 comments
Open

12 columns system not taking full length of container #3743

idybil opened this issue Mar 24, 2024 · 3 comments

Comments

@idybil
Copy link

idybil commented Mar 24, 2024

This is about the Bulma CSS framework
I'm using Bulma [1.0.0]
My browser is: any

Overview of the problem

The 12 columns system of version 1.0.0 is not taking the full length of its container like it is in version 0.9.4.

Description

When using column with is-* and the total of the is-* is 12, the columns container does not take 100% of its parent.

In version 0.9.4, the result look like this: (the red line is the end of the parent container)

screenshot-001260

In version 1.0.0, the result look like this: (the red line is the end of the parent container)

screenshot-001261

In the screenshots above, we can notice that the width in version 1.0.0 is using a calculation which is not preset in version 0.9.4.

Expected behavior

Is this a bug in version 1.0.0, or it is intended to be this way ? Is it possible that the version 1.0.0 have the same behavior as version 0.9.4 ?

Thanks

@smileys53
Copy link

Facing the same issue, did you find a solution?

@idybil
Copy link
Author

idybil commented Apr 26, 2024

@smileys53, No for now I leave it that way expecting a fix in a future version.

@SebConejo
Copy link
Contributor

SebConejo commented May 26, 2024

@idybil I have the same problem. It's quite annoying. I've done some research and this is the trace I'm following:

  • If you remove is-3 on your column div, then it works fine. The total width is occupied.
  • So I think the problem is linked to the width attached to a column. I see that the .is-3 class has the following width: calc(25% - var(--bulma-column-gap) / 2). If we replace it with width: 25%, then everything works fine.

It's a bit of a big mistake, and I'm a bit surprised. I'll keep investigating. @jgthms what do you think? do you have any other solutions ?

Here are screenshots of the issue.

Capture d’écran 2024-05-26 à 20 14 23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants