Skip to content

Commit

Permalink
fix: responsiveness
Browse files Browse the repository at this point in the history
  • Loading branch information
pavanjoshi914 committed May 23, 2024
1 parent 373b62e commit d258cbb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/screens/Accounts/Detail/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ function AccountDetail() {
</div>

<div className="flex items-center gap-2">
<p className="text-gray-600 text-sm dark:text-neutral-400">
<p className="text-gray-600 text-sm dark:text-neutral-400 text-ellipsis whitespace-nowrap overflow-hidden">
{nostrPublicKey}
</p>
{nostrPublicKey && (
Expand Down
10 changes: 8 additions & 2 deletions src/app/screens/Accounts/NostrSettings/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -303,15 +303,21 @@ function NostrSettings() {
<p className="text-gray-800 dark:text-white font-medium">
{t("nostr.settings.nostr_address.manage_nostr_address.title")}
</p>
<p className="text-gray-600 text-xs dark:text-neutral-400">
<p className="text-gray-600 text-sm dark:text-neutral-400 text-ellipsis whitespace-nowrap overflow-hidden">
<Trans
i18nKey={
NIP05Key === ""
? "nostr.settings.nostr_address.manage_nostr_address.description_alternate"
: "nostr.settings.nostr_address.manage_nostr_address.description"
}
t={t}
values={{ lnaddress: lightningAddress, npub: NIP05Key }}
values={{
lnaddress: lightningAddress,
npub:
NIP05Key.substring(0, 11) +
"..." +
NIP05Key.substring(NIP05Key.length - 11),
}}
// eslint-disable-next-line react/jsx-key
components={[<b></b>]}
/>
Expand Down

0 comments on commit d258cbb

Please sign in to comment.