-
Notifications
You must be signed in to change notification settings - Fork 27
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
st-col does not seem to work properly #268
Comments
You're right, "st-col" breaks the correct alignment. If you replace @essenciary I propose to separate st-col elements and col elements. The quasar way of managing spacing would be to apply q-gutter classes, however it is important to know that you need a wrapper cell in almost all cases because margins and paddings are set by the gutter class. For closing the two issues, I see three possibilities:
|
@montyvesselinov What you want is probably best achieved by function ui()
[
Stipple.row(class = "q-col-gutter-md", [
Stipple.htmldiv(xs=5, sm=4, md=3, lg=2, xl=1,
Stipple.cell(class = "st-module q-pa-sm full-height", "Hello, World long long long long long long long long long long long long long long long long long long long long long long long!")
),
Stipple.htmldiv(xs=7, sm=8, md=9, lg=10, xl=11,
Stipple.cell(class = "st-module q-pa-sm full-height", "Hello, World long long long long long long long long long long long long long long long long long long long long long long long!")
)
])
Stipple.row(class = "q-col-gutter-md", [
Stipple.htmldiv(xs=5, sm=4, md=3, lg=2, xl=1,
Stipple.cell(class = "st-module q-pa-sm full-height", "Hello, World long long long long long long long long long long long long long long long long long long long long long long long!")
),
Stipple.htmldiv(xs=6, sm=7, md=8, lg=9, xl=10,
Stipple.cell(class = "st-module q-pa-sm full-height", "Hello, World long long long long long long long long long long long long long long long long long long long long long long long!")
)
])
]
end |
Thank you! This is very helpful! |
Let's not close it yet, we're working on a fix. |
@essenciary |
We have an (internal) task to revamp the UI and fix the grid system issues. @protozoo will tackle this soon. It will be before migrating to vue3 (and we'd have port these too). |
The second row works ok because the sizes add up to 11. The 2 cells are always on the same row.
The top row breaks always break into 2 rows.
The text was updated successfully, but these errors were encountered: