+.flex {
+ display: flex;
+ justify-content: center;
+}
+
+.button {
+ flex-basis: 15%;
+ margin: 0.5em;
+}
+
p {
font-style: italic;
text-align: center;
}
-@media only screen and (min-width: 60.625em) {
+@media only screen and (min-width: 46.875em) {
+ .flex {
+ justify-content: flex-start;
+ }
+
.foodcard {
max-width: 60em;
margin: 0 auto;
<div cdkDropListGroup class="foodcard">
<div *ngFor="let title of foodcard.Titles; let i = index">
<app-title [title]="title"></app-title>
- <button class="button"
- type="button"
- (click)="insertMainSection(i)">Einfügen Hauptteil</button>
- <button class="button"
- type="button"
- (click)="removeMainSection(i)">Lösche Hauptteil</button>
- <button class="button"
- type="button"
- id="buttonSubtitle"
- (click)="addNewSubtitle(i)">Untertitel hinzufügen</button>
+ <div class="flex">
+ <button class="button"
+ type="button"
+ (click)="insertMainSection(i)">Einfügen Hauptteil</button>
+ <button class="button"
+ type="button"
+ (click)="removeMainSection(i)">Lösche Hauptteil</button>
+ <button class="button"
+ type="button"
+ id="buttonSubtitle"
+ (click)="addNewSubtitle(i)">Untertitel hinzufügen</button>
+ </div>
</div>
<p>Fragen zu Allergenen beantwortet Ihnen gerne unser Servicepersonal</p>
</div>