mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-09-04 08:02:22 +00:00
Fix 'no stickerpacks' placeholder to not have a scrollbar
This commit is contained in:
parent
2a5351404f
commit
a529fc5f9f
@ -8,12 +8,12 @@
|
|||||||
that has Dimension enabled and correctly set up.
|
that has Dimension enabled and correctly set up.
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="sticker-picker" *ngIf="!isLoading && !authError">
|
<div class="no-stickers" *ngIf="!isLoading && !authError && (!packs || packs.length === 0)">
|
||||||
<div class="no-stickers" *ngIf="!packs || packs.length === 0">
|
|
||||||
<img src="/img/no_stickers.png" />
|
<img src="/img/no_stickers.png" />
|
||||||
<span class="message">You have no sticker packs.</span>
|
<span class="message">You have no sticker packs.</span>
|
||||||
<button class="btn btn-link btn-sm" (click)="openIntegrationManager()">Add some stickers</button>
|
<button class="btn btn-link btn-sm" (click)="openIntegrationManager()">Add some stickers</button>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="sticker-picker" *ngIf="!isLoading && !authError">
|
||||||
<div class="sticker-pack" *ngFor="let pack of packs trackById">
|
<div class="sticker-pack" *ngFor="let pack of packs trackById">
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<span class="title">{{ pack.displayName }}</span>
|
<span class="title">{{ pack.displayName }}</span>
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
img {
|
img {
|
||||||
width: 96px;
|
width: 96px;
|
||||||
height: 96px;
|
height: 96px;
|
||||||
margin-top: 20px;
|
margin-top: 40px;
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user