You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by yt...@apache.org on 2021/02/26 10:32:54 UTC
[incubator-datalab] 01/01: [DATALAB-2302] fixed bugs for lib
management
This is an automated email from the ASF dual-hosted git repository.
ytykhun pushed a commit to branch DATALAB-2302
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
commit 5c7f8a3b49757fd4b2cdaacc0a5781e79f70539c
Author: Yurii Tykhun <ty...@gmail.com>
AuthorDate: Fri Feb 26 12:31:55 2021 +0200
[DATALAB-2302] fixed bugs for lib management
---
.../install-libraries/install-libraries.component.ts | 4 ++--
.../main/resources/webapp/src/assets/styles/_dialogs.scss | 12 ++++++++++--
2 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/install-libraries/install-libraries.component.ts b/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/install-libraries/install-libraries.component.ts
index 206c061..1be2b93 100644
--- a/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/install-libraries/install-libraries.component.ts
+++ b/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/install-libraries/install-libraries.component.ts
@@ -44,7 +44,7 @@ interface GetLibrary {
@Component({
selector: 'install-libraries',
templateUrl: './install-libraries.component.html',
- styleUrls: ['./install-libraries.component.scss'],
+ styleUrls: ['./libraries-info.component.scss', './install-libraries.component.scss'],
encapsulation: ViewEncapsulation.None
})
export class InstallLibrariesComponent implements OnInit, OnDestroy {
@@ -573,7 +573,7 @@ export class ErrorLibMessageDialogComponent {
<h4 class="modal-title" *ngIf="data.type === 'available'">Version is not available</h4>
<button type="button" class="close" (click)="dialogRef.close()">×</button>
</div>
- <div class="lib-list" *ngIf="data.type === 'added'">
+ <div class="lib-list scrolling" *ngIf="data.type === 'added'">
<span class="strong dependency-title">Dependency: </span><span class="packeges" *ngFor="let pack of data.lib.add_pkgs; index as i">{{pack + (i !== data.lib.add_pkgs.length - 1 ? ', ' : '')}}</span>
</div>
<div class="lib-list" *ngIf="data.type === 'available'">
diff --git a/services/self-service/src/main/resources/webapp/src/assets/styles/_dialogs.scss b/services/self-service/src/main/resources/webapp/src/assets/styles/_dialogs.scss
index 729cc3a..61191ec 100644
--- a/services/self-service/src/main/resources/webapp/src/assets/styles/_dialogs.scss
+++ b/services/self-service/src/main/resources/webapp/src/assets/styles/_dialogs.scss
@@ -433,8 +433,16 @@ mat-dialog-container {
}
.audit-info-content{
- .mat-list-item-content{
- align-items: start !important;
+ .mat-list {
+ height: unset;
+
+ .list-header {
+ line-height: unset;
+
+ .mat-list-item-content{
+ align-items: start !important;
+ }
+ }
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org