(apps/mailbox) Fixed: Compose dialog doesn't work correctly on small height resolutions

(apps/mailbox) Style improvements
This commit is contained in:
sercan 2021-08-12 13:45:34 +03:00
parent 4b686d86cc
commit e7ab0ea13f

View File

@ -1,4 +1,4 @@
<div class="flex flex-col max-w-240 md:min-w-160 -m-6">
<div class="flex flex-col max-w-240 md:min-w-160 max-h-screen -m-6">
<!-- Header -->
<div class="flex flex-0 items-center justify-between h-16 pr-3 sm:pr-5 pl-6 sm:pl-8 bg-primary text-on-primary">
@ -107,14 +107,14 @@
<!-- Discard -->
<button
class="ml-auto sm:ml-0"
mat-button
mat-stroked-button
(click)="discard()">
Discard
</button>
<!-- Save as draft -->
<button
class="sm:mx-3"
mat-button
mat-stroked-button
(click)="saveAsDraft()">
<span>Save as draft</span>
</button>