-
-
Notifications
You must be signed in to change notification settings - Fork 13
allow custom breakpoints #44
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
allow custom breakpoints #44
Conversation
I like the feature. To follow the concepts of the contao-bootstrap extension I'd like to ask you for adjusting the implementation: The idea of contao-bootrap v2 is that you can customize settings on theme level. Instead using a global setting, it should be customizable in the theme settings (right now you can customize the number of grid columns already) Acceptance criterias:
|
PR is now ready |
@dmolineus Kannst du den PR bei Gelegenheit prüfen? |
@scuben Ich habe den PR noch auf meiner Todo-Liste, kann aktuell aber noch nicht abschätzen, wann ich dazukomme. |
- Drop dynamic code from dca config file - Ensure that all available fields are created - Automatically create the database fields - Avoid error for non existing themes
Replace whole configuration instead of merge with a partial replace
- Ensure that valid field names are inserted - Drop empty and duplicates - Use first column if no default grid is selected
@scuben Danke für den PR und sorry für die Lange Pause. Ich habe mir die Implementierung angeschaut und noch einige Sachen behoben, die potentiell Probleme bereitet hätten:
Darüber hinaus habe ich die Implementierung so geändert, dass der PR contao-bootstrap/core#31 nicht notwendig ist. Der Ansatz des PRs im Core gefällt mir nicht, da das Verhalten potentiell auf Subebene des Keys unterschiedlich sein kann. Daher erzeuge ich nun ein neues Konfigurationsobjekt. Kannst du bitte nochmal checken, ob alles für dich passt, dann release ich es zeitnah. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Die deutsche Übersetzung wirf auf Transifex gepflegt, wird daher beim nächsten Update verlorgen gehen. Ich lasse es dennoch mal vorab drin.
Thanks @scuben |
I use sass bootstrap and define custom breakpoints. This PR will allow to overwrite the ?
$GLOBALS['BOOTSTRAP_GRID']['breakpoints']
variable to add/change the breakpoints.Needs contao-bootstrap/core#31