From b1b536e17775d8a28f87dcc9432cb975f9a39a6e Mon Sep 17 00:00:00 2001 From: Korbs Date: Fri, 12 Jul 2024 23:34:10 -0400 Subject: [PATCH] Update channel component --- src/components/DiscoverChannel.astro | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/components/DiscoverChannel.astro b/src/components/DiscoverChannel.astro index 8ce3b68..8a4063d 100644 --- a/src/components/DiscoverChannel.astro +++ b/src/components/DiscoverChannel.astro @@ -11,7 +11,7 @@ import { DEFAULT_MEDIA_DATA_PROXY, DEFAULT_IMAGE_PROXY} from '@utils/GetConfig' const channel = await fetch(DEFAULT_MEDIA_DATA_PROXY + "/api/v1/channels/" + ChannelId).then((response) => response.json()); --- - +

{channel.author}

@@ -25,7 +25,7 @@ const channel = await fetch(DEFAULT_MEDIA_DATA_PROXY + "/api/v1/channels/" + Cha background-position: center !important; background-size: cover !important; .dc-c { - border-radius: 10px; + border-radius: 8px; display: flex; flex-direction: row; align-items: center; @@ -37,6 +37,13 @@ const channel = await fetch(DEFAULT_MEDIA_DATA_PROXY + "/api/v1/channels/" + Cha border-radius: 10rem; padding: 30px; } + p { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + display: block; + width: 160px; + } } } \ No newline at end of file