small ui fixes for overlapping mat form field labels
This commit is contained in:
parent
28f883a9d0
commit
c24fc09866
|
@ -41,7 +41,7 @@
|
|||
</div>
|
||||
<div class="col-12 mt-1">
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="row gap-1-rem">
|
||||
<div class="col-12">
|
||||
<mat-form-field class="w-100">
|
||||
<input matInput placeholder="{{'ANNOTATION-SERVICE.STATUS-EDITOR.FIELDS.LABEL' | translate}}" [formControl]="formGroup.get('label')" required>
|
||||
|
@ -52,7 +52,7 @@
|
|||
<div class="col-12">
|
||||
<mat-form-field class="w-100">
|
||||
<mat-label>{{'ANNOTATION-SERVICE.STATUS-EDITOR.FIELDS.INTERNAL-STATUS' | translate}}</mat-label>
|
||||
<mat-select [formControl]="formGroup.get('internalStatus')">
|
||||
<mat-select [formControl]="formGroup.get('internalStatus')" required>
|
||||
<mat-option *ngFor="let internalStatus of internalStatusEnum" [value]="internalStatus">{{enumUtils.toInternalStatusString(internalStatus)}}</mat-option>
|
||||
<mat-option [value]="null">{{'ANNOTATION-SERVICE.STATUS-EDITOR.DEFAULT-VALUE.NONE' | translate}}</mat-option>
|
||||
</mat-select>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
[skipText]="'DASHBOARD.TOUR-GUIDE.LEAVE-TOUR'| translate"
|
||||
[nextText]="'DASHBOARD.TOUR-GUIDE.GOT-IT'| translate"
|
||||
></ngx-guided-tour>
|
||||
<button class="skip-to-main-content" (click)="skipToMain()" tabindex="1">{{'ALT-TEXT.SKIP-TO-MAIN-CONTENT' | translate}}</button>
|
||||
<button class="skip-to-main-content" (click)="skipToMain()" tabindex="0">{{'ALT-TEXT.SKIP-TO-MAIN-CONTENT' | translate}}</button>
|
||||
<div id="cookies-consent"></div>
|
||||
<div class="wrapper" *ngIf="!showOnlyRouterOutlet">
|
||||
<app-navbar (sidebarToggled)="sidenav.toggle(); toggleNavbar($event);"></app-navbar>
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="row" style="row-gap: 0.5rem">
|
||||
<div class="col-6" *ngIf="isNew">
|
||||
<mat-form-field class="w-100">
|
||||
<mat-label>{{'LANGUAGE-EDITOR.FIELDS.CODE' | translate}}</mat-label>
|
||||
|
|
|
@ -76,7 +76,7 @@
|
|||
<div class="col-12">
|
||||
<div *ngFor="let field of formGroup.get('definition').get('fields').controls; let fieldIndex=index;" class="row mb-3">
|
||||
<div class="col-12">
|
||||
<div class="row d-flex align-items-center">
|
||||
<div class="row d-flex align-items-center" style="row-gap: 0.5rem">
|
||||
<div class="col-auto pb-3 d-flex">
|
||||
<span>{{fieldIndex + 1}}</span>
|
||||
</div>
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
<form *ngIf="formGroup" (ngSubmit)="formSubmit()">
|
||||
<mat-card class="pt-3 pb-3" appearance="outlined">
|
||||
<mat-card-content>
|
||||
<div class="row">
|
||||
<div class="row" style="row-gap: 0.5rem">
|
||||
<div class="col-4">
|
||||
<mat-form-field class="w-100">
|
||||
<mat-label>{{'REFERENCE-EDITOR.FIELDS.LABEL' | translate}}</mat-label>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
<div class="row">
|
||||
<div class="row" style="row-gap: 0.5rem">
|
||||
<div class="col-3">
|
||||
<mat-form-field class="w-100">
|
||||
<mat-label>{{'EXTERNAL-FETCHER-SOURCE-EDITOR.FIELDS.KEY' | translate}}</mat-label>
|
||||
|
|
|
@ -9,6 +9,10 @@
|
|||
background-color: white;
|
||||
color: #009700; //todo mchouliara
|
||||
}
|
||||
|
||||
.row {
|
||||
row-gap: 0.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue