diff --git a/src/components/search/Creator.astro b/src/components/search/Creator.astro index 802af0b..9afa72e 100644 --- a/src/components/search/Creator.astro +++ b/src/components/search/Creator.astro @@ -11,7 +11,18 @@ const {
-

{Followers}

+

+ { + ()=> { + if (Platform === "YouTube") { + return Subs: + } else if (Platform === "Twitch") { + return Followers: + } + } + } + {Followers} +

{Name {Name
@@ -54,6 +65,14 @@ const { } .search-creator-meta { padding-left: 104px; + p { + // Truncate + max-width: 250px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + display: inherit; + } } } \ No newline at end of file