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

Flexbox utilities and helper classes to create flex elements #3008

Closed
IvanSGurdian opened this issue Jun 22, 2020 · 2 comments
Closed

Flexbox utilities and helper classes to create flex elements #3008

IvanSGurdian opened this issue Jun 22, 2020 · 2 comments

Comments

@IvanSGurdian
Copy link

IvanSGurdian commented Jun 22, 2020

This is about Bulma.

It is a feature request

Overview of the problem

This is about the Bulma CSS framework

I'm using Bulma version [0.9.0]

I am sure this issue is not a duplicate?

Description

It would be nice if we had helpers to align and justify items, or to create generic flex containers.

I wanted to create a row at the bottom of a form, which contains a button to submit the form, but found that the method to justify this button to the right side of the main container, using .is-pulled-right uses float property, which, kinda seems odd, having properties like justify-content available. Using the float method caused the button to not be taken into account in the sections height, so it sat on top of the bottom padding of the section, and required additional styling to allow for space below it to avoid the button being at the bottom of the screen.

It would be great to have a simple class to create a flex container and the align or justify items inside with modifiers, something like:

<div class="is-flex is-justified-end">
      <button class="button">Save Changes</button>
</div>

This could be accomplished using .columns but seems a bit too much work having to offset columns to align them

@mrm mrm mentioned this issue Jul 17, 2020
@stale
Copy link

stale bot commented Dec 19, 2020

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.

@stale stale bot added the stale label Dec 19, 2020
@IvanSGurdian IvanSGurdian reopened this Dec 23, 2020
@stale stale bot removed the stale label Dec 23, 2020
@IvanSGurdian
Copy link
Author

This PR has been solved by #3047

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

1 participant