Skip to content

Commit

Permalink
Merge pull request #1741 from getAlby/fix/text-cutoff
Browse files Browse the repository at this point in the history
fix: decrease spacing between elements to fit into screen
  • Loading branch information
bumi authored Nov 9, 2022
2 parents 77bc19d + da68ac9 commit d1c0680
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions src/app/screens/Enable/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,14 @@ function Enable(props: Props) {
isSmall={false}
/>

<div className="dark:text-white pt-6">
<p className="mb-4">{t("allow", { host: props.origin.host })}</p>
<div className="dark:text-white pt-6 mb-4">
<p className="mb-2">{t("allow", { host: props.origin.host })}</p>

<div className="mb-4 flex items-center">
<div className="mb-2 flex items-center">
<CheckIcon className="w-5 h-5 mr-2" />
<p className="dark:text-white">{t("request1")}</p>
</div>
<div className="mb-4 flex items-center">
<div className="mb-2 flex items-center">
<CheckIcon className="w-5 h-5 mr-2" />
<p className="dark:text-white">{t("request2")}</p>
</div>
Expand Down
6 changes: 3 additions & 3 deletions src/app/screens/Nostr/ConfirmGetPublicKey.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ function NostrConfirmGetPublicKey() {
isSmall={false}
/>

<div className="dark:text-white pt-6">
<p className="mb-4">{t("allow", { host: origin.host })}</p>
<div className="mb-4 flex items-center">
<div className="dark:text-white pt-6 mb-4">
<p className="mb-2">{t("allow", { host: origin.host })}</p>
<div className="mb-2 flex items-center">
<CheckIcon className="w-5 h-5 mr-2" />
<p className="dark:text-white">{t("read_public_key")}</p>
</div>
Expand Down

0 comments on commit d1c0680

Please sign in to comment.