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 { }