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

Adding Grid-Options to Row-Element #2

Open
Patric96 opened this issue Jan 7, 2021 · 4 comments
Open

Adding Grid-Options to Row-Element #2

Patric96 opened this issue Jan 7, 2021 · 4 comments

Comments

@Patric96
Copy link

Patric96 commented Jan 7, 2021

Is there a reason that i can't add Grid-Options to a Row-Element? Or do I have to adjust something in my config.yml to make this possible?
In my current case, i want to add the "justify-content-between"-class to my row, to push the columns inside to the left/right side of the row.

@denniserdmann
Copy link
Contributor

No reason, just not needed 😊

But you could create an ordinary css class and use it in the CSS/ID field. I sometimes add classes like row-gap when i want things like this.

Maybe i need to check the options that are relevant for rows …

@BennyK80
Copy link

I would also like to have additional configurable options for row elements.

It would make things easier for customers working on the website to select the available options. Not every customer can remember these details, and having this functionality would make it more user-friendly and easier to use.

@denniserdmann
Copy link
Contributor

@BennyK80 Do you have a real use case as example?

@BennyK80
Copy link

Sure! As Patric96 already mentioned, a common use case would be aligning columns within a row, like using the "justify-content-between" class.

Additionally, another real-world scenario is centering two "col-4" columns with the "justify-content-center" class. Vertical centering of elements within a row is also something clients often request, along with the option to ensure all elements in a row have the same height.

It would also be helpful to have options for adjusting gaps between columns using classes like "gap-1," "gap-2," or "gap-3." Clients might want to further customize rows by adding their own classes, changing background colors, or making other style modifications.

These configurable options would make it easier for non-technical users to create the layouts they need without writing custom code.

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