Add underlines for h2 in datapage

pull/8/head
Max Ehrlicher-Schmidt 4 years ago
parent a0c3751a31
commit 4e1260a51c

@ -14,8 +14,8 @@
</h1> </h1>
<ng-container *ngFor="let object of propertiesInfo"> <ng-container *ngFor="let object of propertiesInfo">
<mat-card class="inline-card" *ngIf="object.type === 'Group'"> <mat-card class="inline-card" *ngIf="object.type === 'Group'">
<mat-card-title <mat-card-title class="card-header">
>{{ object.title }} <h2>{{ object.title }}</h2>
<button <button
mat-button mat-button
*ngIf="data.isLockedByMe && object.possibleObjects" *ngIf="data.isLockedByMe && object.possibleObjects"
@ -47,7 +47,7 @@
<mat-card class="inline-card" *ngIf="object.type === 'ReferenceTable'"> <mat-card class="inline-card" *ngIf="object.type === 'ReferenceTable'">
<mat-card-title <mat-card-title
>{{ object.title }} ><h2>{{ object.title }}</h2>
<a <a
mat-button mat-button
*ngIf="object.linkToTable" *ngIf="object.linkToTable"

@ -36,4 +36,4 @@
.mat-icon { .mat-icon {
margin-left: 8px; margin-left: 8px;
} }
} }

@ -17,6 +17,19 @@ h1:before {
bottom: 0; bottom: 0;
border-bottom: 3px solid #7fc600; border-bottom: 3px solid #7fc600;
} }
h2 {
display: block;
padding-bottom: 0;
position: relative;
}
h2:before {
content: "";
position: absolute;
width: 5rem;
height: 1px;
bottom: 0;
border-bottom: 2px solid #7fc600;
}
.mat-list-item-content { .mat-list-item-content {
width: 100%; width: 100%;

Loading…
Cancel
Save