mirror of https://github.com/ghostfolio/ghostfolio
committed by
GitHub
15 changed files with 69 additions and 73 deletions
@ -1,5 +1,7 @@ |
|||||
@if (deviceType === 'mobile') { |
@if (deviceType === 'mobile') { |
||||
<button mat-button (click)="onClickCloseButton()"> |
<div class="d-flex justify-content-center" mat-dialog-actions> |
||||
<ion-icon name="close" size="large" /> |
<button mat-button (click)="onClickCloseButton()"> |
||||
</button> |
<ion-icon name="close" size="large" /> |
||||
|
</button> |
||||
|
</div> |
||||
} |
} |
||||
|
@ -1,9 +1,3 @@ |
|||||
:host { |
:host { |
||||
display: flex; |
display: block; |
||||
flex: 0 0 auto; |
|
||||
min-height: 0; |
|
||||
|
|
||||
@media (min-width: 576px) { |
|
||||
padding: 0 !important; |
|
||||
} |
|
||||
} |
} |
||||
|
@ -1,10 +1,12 @@ |
|||||
<span |
<div class="d-flex" mat-dialog-title> |
||||
class="flex-grow-1 text-truncate" |
<span |
||||
[ngClass]="{ 'text-center': position === 'center' }" |
class="flex-grow-1 text-truncate" |
||||
>{{ title }}</span |
[ngClass]="{ 'text-center': position === 'center' }" |
||||
> |
>{{ title }}</span |
||||
@if (deviceType !== 'mobile') { |
> |
||||
<button class="no-min-width px-0" mat-button (click)="onClickCloseButton()"> |
@if (deviceType !== 'mobile') { |
||||
<ion-icon name="close" size="large" /> |
<button class="no-min-width px-0" mat-button (click)="onClickCloseButton()"> |
||||
</button> |
<ion-icon name="close" size="large" /> |
||||
} |
</button> |
||||
|
} |
||||
|
</div> |
||||
|
@ -1,4 +1,3 @@ |
|||||
:host { |
:host { |
||||
align-items: center; |
display: block; |
||||
display: flex; |
|
||||
} |
} |
||||
|
Loading…
Reference in new issue