Skip to content

Commit

Permalink
fix: [ID-Card] position of idcard title
Browse files Browse the repository at this point in the history
  • Loading branch information
m-benamor committed Nov 15, 2024
1 parent 76f9986 commit 9034dd2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion mainzelliste.docker.conf
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ idgenerator.intVisitId = SimpleIDGenerator

# ! EXPERIMENTAL FEATURE ! configuration is subject to change in a future release.
# allows dynamic configuration of id types
# projectidgeneratorv1.type = persisted
projectidgeneratorv1.type = persisted

# Whether to show a result page (defaults to true)
# Set to false if you use a redirect address with "addPatient"-Tokens
Expand Down
6 changes: 2 additions & 4 deletions src/app/idcard/idcard.component.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,13 @@
}

#consents table {
margin: 0 2.5% 15px 2.5%;
width: 95%;
margin: 0 1.25% 15px 1.25%;
}

mat-card-title{
transform: scale(0.9);
padding-top: 1%;
padding-bottom: 2%;
font-family: Arial;
padding-bottom: 25px;
}

.consent-row:hover {
Expand Down
12 changes: 6 additions & 6 deletions src/app/idcard/idcard.component.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<form #patientForm="ngForm" style="width: 100%; height: 100%">
<div style="float: left; margin: 0 20px 14px 0; width: 94%; height: 470px; display: flex;
<div style="float: left; margin: 0 20px 14px 0; width: 94%; height: 475px; display: flex;
flex-flow: row; justify-content: space-around; align-items: stretch; column-gap: 14px;">
<mat-card id="patientendaten" style="height: 100%; box-sizing: border-box; display: flex; flex-direction: column; flex: 1">
<mat-card-title>{{'idcard.title_patient_data' | translate}}</mat-card-title>
<app-patient-fields style="overflow: auto; height: 100%" [readOnly]=true [fields]="patient.fields"></app-patient-fields>
<mat-card-title style="margin: 0 0 0 2.5%; align-self: start">{{'idcard.title_patient_data' | translate}}</mat-card-title>
<app-patient-fields style="overflow: auto; height: 100%; margin: 0 0 0 2.5%;" [readOnly]=true [fields]="patient.fields"></app-patient-fields>
</mat-card>

<mat-card id="pseudonyme" style="height: 100%; box-sizing: border-box; display: flex; flex-direction: column; flex: 1">
<mat-card-title>{{'idcard.title_pseudonyms' | translate}}</mat-card-title>
<app-patient-pseudonyms style="overflow: auto; height: 100%" [readOnly]=true [ids]="patient.ids" [permittedOperation]="'R'"
<mat-card-title style="margin: 0 0 0 2.5%; align-self: start">{{'idcard.title_pseudonyms' | translate}}</mat-card-title>
<app-patient-pseudonyms style="overflow: auto; height: 100%; margin: 0 0 0 2.5%;" [readOnly]=true [ids]="patient.ids" [permittedOperation]="'R'"
(generateId)="this.generateId($event.idType, $event.idString, $event.newIdType)"></app-patient-pseudonyms>
</mat-card>
</div>
Expand Down Expand Up @@ -41,7 +41,7 @@
<ng-container *ngIf="this.consentService.isServiceEnabled()">
<mat-card *appHasPermission="Permission.READ_CONSENT" id="consents"
style="box-sizing: border-box; display: flex; flex-direction: column;">
<mat-card-title style="margin: 0 2.5%; align-self: start;">{{'idcard.consent_title' | translate}}</mat-card-title>
<mat-card-title style="margin: 0 1.25%; align-self: start;">{{'idcard.consent_title' | translate}}</mat-card-title>
<mat-card-content style="display: flex; flex-direction: column; height: 100%">
<table #consentTable mat-table [dataSource]="consentsView.consentRows" class="mat-elevation-z8">
<ng-container matColumnDef="date">
Expand Down

0 comments on commit 9034dd2

Please sign in to comment.