-
-
Notifications
You must be signed in to change notification settings - Fork 158
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
Fehler bei w50-Klasse #1024
Comments
Wenn du Felder, die |
Danke und sorry, ich dachte es sei ein Fehler. Vielleicht könnte man hier irgendwann ja trotzdem eine automatische Lösung für das Clearen anstreben. |
Mja, das ganze Backend auf |
Grid! |
Grid wär aus meinem Verständnis falsch, flex wär richtig 🤓
|
Manchmal wünsch ich mir schon so 3-4 Felder in einer Reihe zu haben, vorallem bei "kleinen" Widget-Values. |
@Tastaturberuf siehe #1119 |
Oh nice. Ich nutze ich OM-Backend eh relativ oft. |
Kinda wanna re-discuss this issue and propose using CSS-Flex due to having the possibility of the new classes in 5.x such as: In common cases, you'd want to use different layouts based on logic like we did here for improved UX I don't see #2053 as a good solution when trying to display it based on the mentioned example above. Flex would be BC compatible and devs could still use the classes that they were used to... tho I'd want to think further and would like to introduce col-classes based on the 12 column system. Meaning we'd be able to use:
Having (We could also introduce breakpoint specific classes as well...) Either way, rewriting current float to flexbox should happen long-term and would also work with the current width classes. |
I would like to see a flex-implementation as well. Not sure we really need columns, a static mix of the existing classes makes most sense to me. But we sure do need responsive classes… because .w25 on a mobile is unusable :D |
What do you mean by that? Why is
I’m +1 for using flexbox, but im not sure about the |
I'd still prefer #2053 |
As discussed in the Contao call, we probably have to use grid because we need float clearing (aka |
I was not able to find a clean (CSS-only) solution to implement |
That's not an option, I guess. |
Description ----------- Reviving #2053 with this for Contao ^5.3 and the new introduced classes (w25, w33, w50, w66, w75). Could be merged with additional changes and would be BC-compatible due to the `widget-group` wrapper. Keep in mind this is the reworked CSS-Grid based on @m-vo's solution for the backend widgets as discussed in the contao call for #1024. ___ #### Rewrite Also grouped most media-queries so it's mobile first (not the split-button tho, doesn't make sense for that one) ___ #### Additional classes Introcuded `.w16` on that occasion ___ #### Custom properties Following custom properties were added: | Custom property | Description | | :- | :- | | `--widget-col-amount` | Column amount of the backend-grid<br>_(Defaults to 12)_ | | `--widget-cols` | Amount of space that this takes per row<br>_(Can be used to create more specific widget classes)_ | | `--widget-gap-rows` | Row gap for widget-group container | | `--widget-gap-cols` | Column gap for widget-group container | Commits ------- df706f1 Rewrite #2053 for Contao 5.3 (5.x) 13ff350 Mobile and tablet styles for grid widgets 67d15bd Revert editorConfig 8524095 Add a size range for grid template columns 84ca874 Update grid-layout b8fab3f Use `grid-column-end` for widget cols abd0710 Rebuild the assets 608b93e Use custom properties for backend widgets and introduce `w16` 87c308d Mobile first + CS ef4799a Update widget layout 1ec3509 Revert the unrelated changes 5c0d886 Consider more classes for backwards compatibility 937c34b Run the tools 8ab3b5a Use `align-items: center` instead of `.m12` 00c3545 Use `align-items: center` instead of `.m12` 0e6e8ff Consider `m12` for backwards compatibility 0ad58fb Remove unnecessary margins for `.tl_checkbox` c0f6333 Rebuild the assets Co-authored-by: leofeyer <1192057+leofeyer@users.noreply.github.com>
Bei der Verwendung der CSS-Klasse w50 habe ich schon öfters das Problem gehabt, dass zum einen der Abstand der beidenden floatenden Container zur nächsten Überschrift darunter viel zu gering ist. Es ist quasi gar kein Abstand vorhanden. Zum anderen lässt sich das input-Feld der beiden w50-Container nicht anklicken. Ich kann nur über die TAB-Taste dahin gelangen und die Felder ausfüllen.
Das Problem habe momentan mit Metamodels, hatte es früher aber auch schon bei den Rocksolid Custom Elements. Daher könnte es vielleicht ein genereller Contao-Fehler sein?
Ich verwende Contao 4.8.5., der Fehler trat aber auch bei älteren Versionen schon auf. Getestet in sämtlichen Browsern auf dem Mac.
The text was updated successfully, but these errors were encountered: