Skip to content

Unterstützung für Größensuffixe bei Alignments#26

Merged
dmolineus merged 2 commits intocontao-bootstrap:developfrom
RoflCopter24:patch-1
Apr 8, 2019
Merged

Unterstützung für Größensuffixe bei Alignments#26
dmolineus merged 2 commits intocontao-bootstrap:developfrom
RoflCopter24:patch-1

Conversation

@RoflCopter24
Copy link
Contributor

Im Backend kann man bei 'Gridgrößen und -spalten' bei jeder Größe 'Vertikale Ausrichtung' auswählen.
Bei der Ausgabe wird dies jedoch nicht berücksichtigt, es wird für alle Größen immer nur mehrfach zum Beispiel align-self-end anstatt align-self-xx-end ausgegeben.

Ich habe die entsprechenden Funktionen ergänzt, sodass nun die Größen wie md, lg usw. richtig ausgegeben werden sofern sie vorhanden sind.

Vorher:
ce_bs_gridSeparator col-12 align-self-center col-lg-6 align-self-end
Nachher:
ce_bs_gridSeparator col-12 align-self-center col-lg-6 align-self-lg-end

Im Backend kann man bei 'Gridgrößen und -spalten' bei jeder Größe 'Vertikale Ausrichtung' auswählen.
Bei der Ausgabe wird dies jedoch nicht berücksichtigt, es wird für alle Größen immer nur 'align-self-end' anstatt 'align-self-xx-end' ausgegeben.

Ich habe die entsprechenden Funktionen ergänzt, sodass nun die Größen wie md, lg usw. richtig ausgegeben werden sofern sie vorhanden sind.
@dmolineus dmolineus self-assigned this Apr 5, 2019
@dmolineus dmolineus added this to the 2.1.0 milestone Apr 5, 2019
@dmolineus
Copy link
Member

Nice, I somehow missed that theses classes are also size specific available.

This project uses the contao-community-alliance coding standards which requires that each author is listed in the file header. Besides some alignments in the docs does not fit the coding standard. Would you please address this issues? You can check them local by running a composer update an ant. Or you can have a look at the Travis CI build logs.

@RoflCopter24
Copy link
Contributor Author

Sure! The header has been added and phpcbf fixed some spaces.

@dmolineus dmolineus changed the base branch from master to develop April 8, 2019 07:10
@dmolineus dmolineus changed the base branch from develop to master April 8, 2019 07:13
@dmolineus dmolineus changed the base branch from master to develop April 8, 2019 07:13
Copy link
Member

@dmolineus dmolineus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM. Gonna be released with version 2.1.0 following semantic versioning.

@dmolineus dmolineus merged commit d380bed into contao-bootstrap:develop Apr 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants