From 039ce6822119348a416fe4b1acdd543c24030854 Mon Sep 17 00:00:00 2001 From: Sofia Papacharalampous Date: Tue, 14 May 2024 17:23:38 +0300 Subject: [PATCH] styling changes --- .../description-overview.component.html | 6 +++--- .../description-overview.component.scss | 3 +++ .../dmp/overview/dmp-overview.component.html | 19 ++++++++++--------- .../dmp/overview/dmp-overview.component.scss | 3 +++ 4 files changed, 19 insertions(+), 12 deletions(-) diff --git a/dmp-frontend/src/app/ui/description/overview/description-overview.component.html b/dmp-frontend/src/app/ui/description/overview/description-overview.component.html index 7f85e87a4..557fdb544 100644 --- a/dmp-frontend/src/app/ui/description/overview/description-overview.component.html +++ b/dmp-frontend/src/app/ui/description/overview/description-overview.component.html @@ -184,18 +184,18 @@
-
+
-
+
+

{{ dmpUser.user?.name }} ({{ 'DESCRIPTION-OVERVIEW.YOU' | translate }})

{{ enumUtils.toDmpUserRoleString(dmpUser.role) }} - {{ 'DESCRIPTION-OVERVIEW.ROLES.ALL-SECTIONS' | translate}} {{ getSectionNameById(dmpUser.sectionId) }}

-
diff --git a/dmp-frontend/src/app/ui/description/overview/description-overview.component.scss b/dmp-frontend/src/app/ui/description/overview/description-overview.component.scss index 8a0ec293d..72d87a6e5 100644 --- a/dmp-frontend/src/app/ui/description/overview/description-overview.component.scss +++ b/dmp-frontend/src/app/ui/description/overview/description-overview.component.scss @@ -262,6 +262,9 @@ color: #212121; height: 1.4em; margin-bottom: 0px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } .authors-role { diff --git a/dmp-frontend/src/app/ui/dmp/overview/dmp-overview.component.html b/dmp-frontend/src/app/ui/dmp/overview/dmp-overview.component.html index 3c81b5319..27e91e7ba 100644 --- a/dmp-frontend/src/app/ui/dmp/overview/dmp-overview.component.html +++ b/dmp-frontend/src/app/ui/dmp/overview/dmp-overview.component.html @@ -246,17 +246,18 @@
-
- -
-

{{ dmpUser.user?.name }} - - ({{ 'DMP-OVERVIEW.YOU' | translate }}) -

-

{{ enumUtils.toDmpUserRoleString(dmpUser.role) }}

-
+
+
+ +

{{ dmpUser.user?.name }} + + ({{ 'DMP-OVERVIEW.YOU' | translate }}) +

+

{{ enumUtils.toDmpUserRoleString(dmpUser.role) }}

diff --git a/dmp-frontend/src/app/ui/dmp/overview/dmp-overview.component.scss b/dmp-frontend/src/app/ui/dmp/overview/dmp-overview.component.scss index 158fdef67..4e9042323 100644 --- a/dmp-frontend/src/app/ui/dmp/overview/dmp-overview.component.scss +++ b/dmp-frontend/src/app/ui/dmp/overview/dmp-overview.component.scss @@ -272,6 +272,9 @@ color: #212121; height: 1.4em; margin-bottom: 0px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } .authors-role {