Skip to content

Commit

Permalink
- bug-fixed: body texarea into email modal has 0px height
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriele Panico committed Feb 1, 2024
1 parent 5b8217c commit 52b46ed
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
7 changes: 4 additions & 3 deletions src/app/modals/send-email/send-email.page.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,13 @@
formControlName="text"
autosize="false"
auto-grow="true"
autofocus="true"
autofocus="true"
rows="2"
placeholder="{{translationMap?.get('EMAIL.MESSAGE_PLACEHOLDER')}}">
</ion-textarea>
<div class="info-wrapper">
<div class="info-wrapper" *ngIf="LOGOS_ITEMS['BASE_LOGO_GRAY'].icon">
<ion-label>Powered by</ion-label>
<img [src]="LOGOS_ITEMS['BASE_LOGO'].icon">
<img [src]="LOGOS_ITEMS['BASE_LOGO_GRAY'].icon">
</div>
</div>

Expand Down
9 changes: 8 additions & 1 deletion src/app/modals/send-email/send-email.page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ ion-content{
ion-textarea{
min-height: calc(100% - 50px);
max-height: calc(100% - 50px);

&::ng-deep textarea {
height: unset !important;
}
}
}

Expand Down Expand Up @@ -138,6 +142,10 @@ ion-input{
min-height: 184px;
max-height: 184px;
color: rgb(98, 112, 139);

&::ng-deep textarea {
height: unset !important;
}
}
}

Expand All @@ -162,7 +170,6 @@ ion-label.message-placeholder{
img{
max-width: 35%;
max-height: 50px;
filter: brightness(0) saturate(100%) invert(64%) sepia(1%) saturate(46%) hue-rotate(314deg) brightness(103%) contrast(99%);
}
}

Expand Down

0 comments on commit 52b46ed

Please sign in to comment.