You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by dg...@apache.org on 2020/12/04 11:44:54 UTC
[incubator-datalab] 02/02: [DATALAB-2164]: Adjusted group_tag
according to the tags of the other pages
This is an automated email from the ASF dual-hosted git repository.
dgnatyshyn pushed a commit to branch DATALAB-2164
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
commit 90f66f9fac9e96d3d4c4f7a56bda17d945c502b2
Author: Dmytro_Gnatyshyn <di...@ukr.net>
AuthorDate: Thu Dec 3 17:22:42 2020 +0200
[DATALAB-2164]: Adjusted group_tag according to the tags of the other pages
---
.../project/project-list/project-list.component.html | 2 +-
.../project/project-list/project-list.component.scss | 7 +++++++
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/services/self-service/src/main/resources/webapp/src/app/administration/project/project-list/project-list.component.html b/services/self-service/src/main/resources/webapp/src/app/administration/project/project-list/project-list.component.html
index 100e859..05efd9c 100644
--- a/services/self-service/src/main/resources/webapp/src/app/administration/project/project-list/project-list.component.html
+++ b/services/self-service/src/main/resources/webapp/src/app/administration/project/project-list/project-list.component.html
@@ -27,7 +27,7 @@
<th mat-header-cell *matHeaderCellDef class="groups"> Group </th>
<td mat-cell *matCellDef="let element" class="groups">
<mat-chip-list>
- <mat-chip *ngFor="let group of element.groups">{{ group }}</mat-chip>
+ <mat-chip *ngFor="let group of element.groups" [matTooltip]="group" matTooltipPosition="above">{{ group }}</mat-chip>
</mat-chip-list>
</td>
</ng-container>
diff --git a/services/self-service/src/main/resources/webapp/src/app/administration/project/project-list/project-list.component.scss b/services/self-service/src/main/resources/webapp/src/app/administration/project/project-list/project-list.component.scss
index 69190e0..7fe6613 100644
--- a/services/self-service/src/main/resources/webapp/src/app/administration/project/project-list/project-list.component.scss
+++ b/services/self-service/src/main/resources/webapp/src/app/administration/project/project-list/project-list.component.scss
@@ -152,6 +152,13 @@ td.settings {
padding: 10px 15px;
}
+.mat-chip{
+ max-width: 200px !important;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ display: inline-block;
+}
+
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org