Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ui): fix overflowing text #4879

Merged
merged 5 commits into from
Sep 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/BaseBlock.vue
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const isCollapsed = ref(true);
<div
v-if="!loading && (!isCollapsed || !isCollapsable)"
:class="!slim && 'p-4'"
class="leading-5 sm:leading-6"
class="leading-5 sm:leading-6 break-words"
>
<slot />
<div
Expand Down
2 changes: 1 addition & 1 deletion src/components/NavbarAccount.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ watch(
/>
<span
v-if="profile?.name || profile?.ens"
class="hidden sm:block"
class="hidden sm:block max-w-[120px] truncate"
v-text="profile.name || profile.ens"
/>
<span v-else class="hidden sm:block" v-text="shorten(web3Account)" />
Expand Down
2 changes: 1 addition & 1 deletion src/components/ProfileAddressCopy.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const { copyToClipboard } = useCopy();
</div>
</button>
<button
class="flex cursor-pointer items-center rounded border px-1 text-xs"
class="flex cursor-pointer items-center rounded border px-1 text-xs shrink-0"
@click="copyToClipboard(userAddress)"
>
{{ shorten(userAddress) }}
Expand Down
2 changes: 1 addition & 1 deletion src/views/SpaceDelegate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ onBeforeRouteLeave(async () => {
<div>
<AvatarUser :address="address" size="40" />
</div>
<div class="ml-2">
<div class="ml-2 truncate">
<ProfileName
:profile="getProfile(address)"
:address="address"
Expand Down
Loading