fix strongs modal

This commit is contained in:
Jason Wall 2021-03-03 14:35:32 -05:00
parent 82159cc84c
commit 4bbc50cf37
3 changed files with 6 additions and 5 deletions

View File

@ -16,6 +16,7 @@
</mat-toolbar>
</div>
<mat-dialog-content class="content">
<br />
<app-strongs
[data]="cardItem.data"
(onOpenPassage)="openPassage($event)"

View File

@ -12,16 +12,13 @@
}
.content {
max-height: 75vh;
max-width: 800px;
font-size: var(--card-font-size);
font-family: var(--card-font-family);
line-height: calc(var(--card-font-size) + 0.5rem);
}
mat-toolbar {
margin: -24px -24px 12px -24px;
padding: 0px 16px 0px 16px;
width: auto;
}

View File

@ -187,9 +187,12 @@ p {
padding: 0 !important;
}
.mat-dialog-content {
padding: 12px !important;
padding: 0 12px !important;
margin: 0 !important;
}
.mat-dialog-title {
margin: 0 0 2px !important;
}
@media screen and (max-width: 500px) {
.cdk-overlay-pane {
@ -198,6 +201,6 @@ p {
}
.mat-dialog-content {
max-height: 85vh !important;
max-height: 95vh !important;
}
}