From e9611b3c3bdbe4787ef3da81a46b2555f5d5c177 Mon Sep 17 00:00:00 2001 From: Myriam Delaruelle <myriam.delaruelle@univ-lorraine.fr> Date: Tue, 15 Oct 2024 11:21:33 +0200 Subject: [PATCH] popover in student progression are bigger, now with ellipsis --- styles.css | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/styles.css b/styles.css index 7ee1fa8..708b28f 100644 --- a/styles.css +++ b/styles.css @@ -655,11 +655,11 @@ ul.nav.navbar-nav.ml-auto { display: none; position: absolute; top: -3rem; - left: -85px; + left: -135px; background-color: #333; color: #fafafa; - padding: 0 5px; - width: 200px; + padding: 0 10px; + width: 300px; height: 2.5rem; line-height: 2.5rem; border-radius: 0.15rem; @@ -669,6 +669,9 @@ ul.nav.navbar-nav.ml-auto { } .iena-h-prog-mod-item:hover span.popover-module { display: inline; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; } .iena-h-prog-mod-item span.popover-module:before { content:''; @@ -677,7 +680,7 @@ ul.nav.navbar-nav.ml-auto { position:absolute; left:0; top:0; - background:linear-gradient(90deg, rgba(51, 51, 51, 0) 160px, rgba(51, 51, 51, 1) 185px); + /*background:linear-gradient(90deg, rgba(51, 51, 51, 0) 220px, rgba(51, 51, 51, 1) 300px);*/ } /* Group select */ -- GitLab