From 050a74250178d3f739221f6bac4a0bc0e3ab8501 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juraj=20Nyi=CC=81ri?= Date: Mon, 3 May 2021 13:43:25 +0200 Subject: [PATCH] Fix: Long ttle in detailed view display --- www/content-card-example.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/www/content-card-example.js b/www/content-card-example.js index f80b253..ee04139 100644 --- a/www/content-card-example.js +++ b/www/content-card-example.js @@ -415,6 +415,13 @@ class ContentCardExample extends HTMLElement { let style = document.createElement("style"); style.textContent = ` + .detail h1 { + text-overflow: ellipsis; + white-space: nowrap; + overflow: hidden; + position: relative; + padding: 5px 0px; + } .detailDesc { }