From e78f76ec8a263aaa465888887bfcfaa56cecefd2 Mon Sep 17 00:00:00 2001 From: arunshenoy99 Date: Thu, 1 Feb 2024 18:33:51 +0530 Subject: [PATCH] Add ellipse to long theme names --- .../LivePreview/SiteGenPreviewSelectableCard/index.js | 10 ++++++++-- .../SiteGenPreviewSelectableCard/stylesheet.scss | 8 ++++++++ .../components/SitegenEditorPatterns/stylesheet.scss | 7 +++++++ .../sitegen-theme-marker/sitegen-theme-marker.css | 3 +++ .../sitegen-theme-marker/sitegen-theme-marker.js | 2 +- 5 files changed, 27 insertions(+), 3 deletions(-) diff --git a/src/OnboardingSPA/components/LivePreview/SiteGenPreviewSelectableCard/index.js b/src/OnboardingSPA/components/LivePreview/SiteGenPreviewSelectableCard/index.js index 1816c6157..ea686bdb7 100644 --- a/src/OnboardingSPA/components/LivePreview/SiteGenPreviewSelectableCard/index.js +++ b/src/OnboardingSPA/components/LivePreview/SiteGenPreviewSelectableCard/index.js @@ -93,14 +93,20 @@ const SiteGenPreviewSelectableCard = ( { aria-label="Add to Wishlist" className={ `${ className }__live-preview-container-buttons__button` } > - + { isFavorite ? ( ) : ( ) } - { title } + + { title } +
` + - `${ homepage.title }`; + `
${ homepage.title }
`; } } ); };