Fix 'Add Send' button being outside section (#2706)

This commit is contained in:
Robyn MacCallum 2022-05-19 17:10:10 -04:00 committed by GitHub
parent 39af27da3f
commit b19fa11591
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 6 deletions

View File

@ -53,7 +53,7 @@
</div> </div>
<div id="items" class="items"> <div id="items" class="items">
<div class="content"> <div class="content">
<div class="list" *ngIf="filteredSends.length"> <div class="list full-height" *ngIf="filteredSends.length">
<button <button
*ngFor="let s of filteredSends" *ngFor="let s of filteredSends"
appStopClick appStopClick
@ -129,13 +129,13 @@
<p>{{ "noItemsInList" | i18n }}</p> <p>{{ "noItemsInList" | i18n }}</p>
</ng-container> </ng-container>
</div> </div>
</div>
<div class="footer"> <div class="footer">
<button (click)="addSend()" class="block primary" appA11yTitle="{{ 'addItem' | i18n }}"> <button (click)="addSend()" class="block primary" appA11yTitle="{{ 'addItem' | i18n }}">
<i class="bwi bwi-plus bwi-lg" aria-hidden="true"></i> <i class="bwi bwi-plus bwi-lg" aria-hidden="true"></i>
</button> </button>
</div> </div>
</div> </div>
</div>
<app-send-add-edit <app-send-add-edit
id="addEdit" id="addEdit"
class="details" class="details"

View File

@ -147,3 +147,8 @@
} }
} }
} }
.list.full-height {
height: 100%;
overflow-y: auto;
}