Removes unnecessary scrollbar from editors

This commit is contained in:
apapachristou 2020-10-29 13:46:10 +02:00
parent 638d5ca98c
commit e661eb3d0b
21 changed files with 55 additions and 22 deletions

View File

@ -1,4 +1,6 @@
.dataset-profile-editor {
margin-top: 6.3rem;
.full-width {
width: 100%;
}

View File

@ -1,4 +1,4 @@
<div class="main-content">
<div class="main-content dataset-profile-listing">
<div class="container-fluid">
<h3>{{titlePrefix}} {{'DATASET-PROFILE-LISTING.TITLE' | translate}}</h3>

View File

@ -1,3 +1,7 @@
.dataset-profile-listing {
margin-top: 6rem;
}
.mat-table {
margin: 24px;
}

View File

@ -1,4 +1,6 @@
.dmp-profile-editor {
margin-top: 6.3rem;
.centered-row-item {
align-items: center;
display: flex;

View File

@ -3,6 +3,8 @@
}
.dmp-profile-listing {
margin-top: 6.3rem;
.mat-row {
cursor: pointer;
}

View File

@ -1,10 +1,13 @@
<div class="main-content">
<div class="container-fluid user-listing">
<h3>{{'USERS.LISTING.TITLE' | translate}}</h3>
<div class="d-flex mb-3"><button mat-raised-button type="button" class="export-btn ml-auto" (click)="exportUsers()">
<mat-icon class="mr-2 export-icon">save_alt</mat-icon>{{'USERS.LISTING.EXPORT' | translate}}
</button></div>
<div class="d-flex align-items-center">
<h3>{{'USERS.LISTING.TITLE' | translate}}</h3>
<div class="col-auto ml-auto">
<button mat-raised-button type="button" class="export-btn" (click)="exportUsers()">
<mat-icon class="mr-2 export-icon">save_alt</mat-icon>{{'USERS.LISTING.EXPORT' | translate}}
</button>
</div>
</div>
<app-user-criteria-component></app-user-criteria-component>
<mat-card class="mat-card">
<mat-table [dataSource]="dataSource" matSort>

View File

@ -3,12 +3,14 @@
}
.user-listing {
margin-top: 6rem;
.mat-card {
margin: 1em 0;
}
mat-row:hover {
background-color: lightgray;
// background-color: lightgray;
}
mat-row:nth-child(odd) {

View File

@ -387,8 +387,10 @@
height: calc(100vh - 218px);
}
}
form {
height: calc(100vh - 124px);
height: calc(100vh - 124px);
margin-top: 6rem;
}
.stepper-actions {

View File

@ -1,4 +1,4 @@
<div class="main-content pl-5 pr-5">
<div class="main-content dataset-overview pl-5 pr-5">
<div class="container-fluid pl-0 pr-0">
<div *ngIf="dataset">
<a class="row mb-2 pl-1" (click)="goBack()" role="button">

View File

@ -3,6 +3,10 @@
padding: 2em;
}
.dataset-overview {
margin-top: 5rem;
}
// ********ICONS********
.back-icon {

View File

@ -10,6 +10,7 @@
form {
height: calc(100vh - 124px);
margin-top: 6rem;
}
a {

View File

@ -1,4 +1,4 @@
<div class="main-content pl-5 pr-5">
<div class="main-content dmp-overview pl-5 pr-5">
<div class="container-fluid pl-0 pr-0">
<div *ngIf="dmp">
<a class="row mb-2 pl-1" (click)="goBack()" role="button">

View File

@ -3,6 +3,10 @@
padding: 2em;
}
.dmp-overview {
margin-top: 5rem;
}
// ********ICONS********
.back-icon {

View File

@ -1,6 +1,6 @@
<div class="user-guide-editor">
<form (ngSubmit)="submit()" [formGroup]="formGroup">
<div class="row">
<div>
<mat-card class="col-md-8 offset-md-2">
<mat-card-title><div>{{'GUIDE.TITLE' | translate}}</div></mat-card-title>
<mat-card-content>
@ -21,8 +21,8 @@
}" formControlName="html"></editor>
</mat-card-content>
</mat-card>
<button mat-fab class="mat-fab-bottom-right save-btn" type="submit">
<mat-icon class="mat-24" title="save">save</mat-icon>
<button mat-fab class="mat-fab-bottom-right save-btn" matTooltip="{{'GUIDE.SAVE' | translate}}" type="submit">
<mat-icon class="mat-24">save</mat-icon>
</button>
</div>

View File

@ -1,6 +1,7 @@
.user-guide-editor {
padding-top: 5em;
padding-bottom: 2em;
margin-top: 1em;
.save-btn {
padding-top: inherit !important;
@ -8,6 +9,6 @@
width: 56px !important;
bottom: 10px;
position: fixed;
right: 10px;
right: 40px;
}
}

View File

@ -611,7 +611,7 @@
"ERROR": {
"DELETED-DMP": "Der angeforderte DMP ist gelöscht",
"FORBIDEN-DMP": "Sie sind nicht berechtigt auf diesen DMP zuzugreifen"
},
},
"MULTIPLE-DIALOG": {
"ZENODO-LOGIN": "Login with Zenodo",
"USE-DEFAULT": "Use Default Token"
@ -1108,7 +1108,7 @@
"SOURCES": "Quellen",
"SOURCE:": "Quelle: ",
"NO-SOURCE": "Nicht mit Quelle verknüpfen",
"OUTPUT": "Output" ,
"OUTPUT": "Output",
"SELECT": "Select"
},
"DMP": {
@ -1280,7 +1280,8 @@
"GUIDE": {
"TITLE": "Benutzerhandbuch",
"TITLE-DASHED": "-Benutzerhandbuch-",
"CLOSE": "Schließen"
"CLOSE": "Schließen",
"SAVE": "Speichern"
},
"PRIVACY-POLICY": {
"TITLE": "-Datenschutzrichtlinie-",

View File

@ -1280,7 +1280,8 @@
"GUIDE": {
"TITLE": "User Guide",
"TITLE-DASHED": "-User Guide-",
"CLOSE": "Close"
"CLOSE": "Close",
"SAVE": "Save"
},
"PRIVACY-POLICY": {
"TITLE": "-Privacy Policy-",

View File

@ -1280,7 +1280,8 @@
"GUIDE": {
"TITLE": "Guía de usuario",
"TITLE-DASHED": "-Guía de usuario-",
"CLOSE": "Cerrar"
"CLOSE": "Cerrar",
"SAVE": "Save"
},
"PRIVACY-POLICY": {
"TITLE": "-Política de privacidad-",

View File

@ -1280,7 +1280,8 @@
"GUIDE": {
"TITLE": "Οδηγός Χρήστη",
"TITLE-DASHED": "-Οδηγός Χρήστη-",
"CLOSE": "Κλείσιμο"
"CLOSE": "Κλείσιμο",
"SAVE": "Αποθήκευση"
},
"PRIVACY-POLICY": {
"TITLE": "-Πολιτική Απορρήτου-",

View File

@ -1280,7 +1280,8 @@
"GUIDE": {
"TITLE": "Používateľská príručka",
"TITLE-DASHED": "-Používateľská príručka-",
"CLOSE": "Zavrieť"
"CLOSE": "Zavrieť",
"SAVE": "Uložiť"
},
"PRIVACY-POLICY": {
"TITLE": "-Zásady ochrany súkromných údajov-",

View File

@ -1280,7 +1280,8 @@
"GUIDE": {
"TITLE": "Kullanıcı Rehberi",
"TITLE-DASHED": "-Kullanıcı Rehberi-",
"CLOSE": "Kapat"
"CLOSE": "Kapat",
"SAVE": "Kaydet"
},
"PRIVACY-POLICY": {
"TITLE": "-Gizlilik Politikası-",