🐛 deduplicate buttons to add a date

This commit is contained in:
Tykayn 2022-02-04 13:44:59 +01:00 committed by tykayn
parent 217d9a97c7
commit d9042c1993
3 changed files with 9 additions and 10 deletions

View File

@ -50,13 +50,12 @@
</div>
</div>
</div>
</div>
<div class="add_date">
<!-- ajouter une date-->
<button class="button is-primary" (click)="addChoice()">
<i class="fa fa-plus"></i>
<button class="button is-primary is-fullwidth" (click)="addChoice()">
{{ 'dates.add' | translate }}
</button>
</div>
</div>
</div>
</div>

View File

@ -23,7 +23,6 @@
.button {
min-width: 9ch;
margin-left: -1rem;
}
.icon {
@ -94,9 +93,11 @@
.delete-date {
color: $primary_color;
border: 0;
border-radius: 0.25rem;
background: transparent;
text-align: left;
margin-right: 0;
margin-left: -2rem;
.fa,
.icon {
@ -128,6 +129,6 @@
line-height: 16px;
}
.add_date {
margin-left: 1rem;
margin-top: 2rem;
}
}

View File

@ -12,7 +12,6 @@
</span>
<span *ngIf="!pollService.mode_calendar">
{{ 'dates.datepicker_input' | translate }}
<i class="fa fa-calendar-o"></i>
</span>
</button>