How to have form with equal width fields without taking full page width #1306
-
Hello, I'm building form like this: As you can see I get different width for every type of input. I have tried to use It could be uncomfortable to use on large screen :( Is there any clean way to have the following equal width fields form? |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments
-
You could use "Evenly Divided" forms https://fomantic-ui.com/collections/form.html#evenly-divided |
Beta Was this translation helpful? Give feedback.
-
Yes, I see the trick is to use |
Beta Was this translation helpful? Give feedback.
-
@smartm0use try putting it in a container |
Beta Was this translation helpful? Give feedback.
-
Uhm, thank you for your hint... but it is centered in the page... |
Beta Was this translation helpful? Give feedback.
-
Huh, I didn't realize you wanted it left aligned. You could just override the This might be an easy feature request as well, does anyone have any thoughts on a left or right "floated" container? The CSS might look something like: .ui.container:not(.fluid) {
width: 933px;
}
.ui.container:not(.left.floated) {
margin-right: auto;
}
.ui.container:not(.right.floated) {
margin-left: auto;
} |
Beta Was this translation helpful? Give feedback.
-
Yes, it could be a new feature for Fomantic-UI containers. |
Beta Was this translation helpful? Give feedback.
-
Closed since the issue seems to be resolved. Please create a separate issue if you've any feature request with that. |
Beta Was this translation helpful? Give feedback.
Huh, I didn't realize you wanted it left aligned. You could just override the
margin-left: auto !important
rule in the container, or use something like a grid instead.This might be an easy feature request as well, does anyone have any thoughts on a left or right "floated" container? The CSS might look something like: