From 89ea73062ed8d42ee3be8abf7b087e8bbab0a84d Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sat, 30 Dec 2023 14:04:58 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fixed=20#1004=20-=20text=20overf?= =?UTF-8?q?low=20in=20tooltip?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/LinkItems/Item.vue | 2 ++ src/styles/color-themes.scss | 2 +- src/styles/global-styles.scss | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/LinkItems/Item.vue b/src/components/LinkItems/Item.vue index feafb75d..07f0fa2f 100644 --- a/src/components/LinkItems/Item.vue +++ b/src/components/LinkItems/Item.vue @@ -255,6 +255,7 @@ export default { -webkit-line-clamp: 3; -webkit-box-orient: vertical; word-break: keep-all; + overflow: hidden; span.text { white-space: nowrap; } @@ -385,6 +386,7 @@ p.description { font-size: .9em; line-height: 1rem; height: 2rem; + overflow: hidden; } } } diff --git a/src/styles/color-themes.scss b/src/styles/color-themes.scss index 7c62fa23..1977e5de 100644 --- a/src/styles/color-themes.scss +++ b/src/styles/color-themes.scss @@ -1777,7 +1777,7 @@ html[data-theme="tama"] { // large tile spacing adjustment .there-are-items:has(.item-wrapper.wrap-size-large) { padding-top: .25rem; } - .item-wrapper.wrap-size-large { margin: 0rem .5rem .5rem 0rem; } + .item-wrapper.wrap-size-large { margin: 0rem .5rem .5rem 0rem; overflow: hidden; } .item.size-large .tile-title { padding: 0rem 0rem 0rem .7rem; } // Hide open method icon diff --git a/src/styles/global-styles.scss b/src/styles/global-styles.scss index 7e4ef40c..4d4a9565 100644 --- a/src/styles/global-styles.scss +++ b/src/styles/global-styles.scss @@ -103,6 +103,7 @@ html { border-radius: var(--curve-factor-small); color: var(--description-tooltip-color); padding: var(--tooltip-padding); + overflow: hidden; } .tooltip-arrow { width: 0;