From 557cea3f4866dc33236874f5fe4d2d69ee963dae Mon Sep 17 00:00:00 2001 From: undergroundwires Date: Mon, 1 Apr 2024 12:34:21 +0200 Subject: [PATCH] Fix overflow in tree node content on small screens This commit addresses a UI issue observed on small screens, particularly during text searches involving nested nodes. Implementing word-breaking for the improved display of script/category titles and their documentation prevents content overflow. This change ensures that both the header (including the node title and documentation icon) and the documentation text stay fully visible without overflowing. Additionally, this fix replaces ID-based styling (`#node`) with class-based styling, using clear, descriptive names. This enhances CSS and JavaScript reusability and maintainability. --- .../View/Tree/NodeContent/NodeContent.vue | 32 +++++++++++++------ 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/src/presentation/components/Scripts/View/Tree/NodeContent/NodeContent.vue b/src/presentation/components/Scripts/View/Tree/NodeContent/NodeContent.vue index 45c25bc4..8043e022 100644 --- a/src/presentation/components/Scripts/View/Tree/NodeContent/NodeContent.vue +++ b/src/presentation/components/Scripts/View/Tree/NodeContent/NodeContent.vue @@ -1,12 +1,15 @@