From 4a4210fff09d297c03d275ca81abdb4355cdd99c Mon Sep 17 00:00:00 2001 From: Caaf14 <cata-araya@outlook.com> Date: Tue, 16 Apr 2024 22:27:32 -0400 Subject: [PATCH] fix overflow for question title in histogram --- .../questions-results/questions-results.component.scss | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/client/src/app/pages/game/results-page/questions-results/questions-results.component.scss b/client/src/app/pages/game/results-page/questions-results/questions-results.component.scss index b6b6f00a..bbdd3435 100644 --- a/client/src/app/pages/game/results-page/questions-results/questions-results.component.scss +++ b/client/src/app/pages/game/results-page/questions-results/questions-results.component.scss @@ -6,6 +6,12 @@ padding: 1em; } +mat-card-title { + overflow-wrap: anywhere; + white-space: normal; + overflow: hidden; +} + .question { flex-grow: 1; @@ -13,7 +19,6 @@ flex-direction: row; justify-content: space-between; align-items: center; - gap: 2em; } -- GitLab