fix: user server name getting clipped (#1308)

Closes https://github.com/elk-zone/elk/issues/1300
zio/stable
webfansplz 2023-01-20 00:34:33 +08:00 committed by GitHub
parent 0f5476c190
commit 5465409fcb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ const serverName = $computed(() => getServerName(account))
</script> </script>
<template> <template>
<p line-clamp-1 whitespace-pre-wrap break-all text-secondary-light dir="ltr"> <p line-clamp-1 whitespace-pre-wrap break-all text-secondary-light leading-tight dir="ltr">
<!-- fix: #274 only line-clamp-1 can be used here, using text-ellipsis is not valid --> <!-- fix: #274 only line-clamp-1 can be used here, using text-ellipsis is not valid -->
<span text-secondary>{{ getShortHandle(account) }}</span> <span text-secondary>{{ getShortHandle(account) }}</span>
<span v-if="serverName" text-secondary-light>@{{ serverName }}</span> <span v-if="serverName" text-secondary-light>@{{ serverName }}</span>