From b8ba41472487d34e8220d3c2c5fb3b7204462973 Mon Sep 17 00:00:00 2001 From: Eric Leroy-Terquem Date: Mon, 5 Jun 2023 12:25:56 +0200 Subject: [PATCH] UI(groupe instructeur): do not wrap text --- app/assets/stylesheets/02_utils.scss | 12 ++++++++++++ .../one_groupe_management_component.html.haml | 4 ++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/02_utils.scss b/app/assets/stylesheets/02_utils.scss index cad30c225..6e1a39bf1 100644 --- a/app/assets/stylesheets/02_utils.scss +++ b/app/assets/stylesheets/02_utils.scss @@ -90,6 +90,18 @@ display: none !important; } +.visible-on-previous-hover { + visibility: hidden; +} + +:hover + .visible-on-previous-hover { + visibility: visible; +} + +.no-wrap { + white-space: nowrap; +} + // sizing .width-100 { width: 100%; diff --git a/app/components/procedure/one_groupe_management_component/one_groupe_management_component.html.haml b/app/components/procedure/one_groupe_management_component/one_groupe_management_component.html.haml index 1cbbd231a..b728a894f 100644 --- a/app/components/procedure/one_groupe_management_component/one_groupe_management_component.html.haml +++ b/app/components/procedure/one_groupe_management_component/one_groupe_management_component.html.haml @@ -32,10 +32,10 @@ %p.fr-mb-1w.fr-badge.fr-badge--warning.fr-badge--sm à configurer .flex.align-baseline - .fr-mr-2w si le champ + .fr-mr-2w.no-wrap si le champ .target.fr-mr-2w = targeted_champ_tag - .operator.fr-mr-2w est égal à + .operator.fr-mr-2w.no-wrap est égal à .value = value_tag