Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

chore: adjust dimensions in Sent icon usage #2423

Merged
merged 2 commits into from
Jul 10, 2020
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
8 changes: 4 additions & 4 deletions src/app/components/Layout/__snapshots__/Layout.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ exports[`Layout should hide navigation bar 1`] = `
class="h-8 border-r border-theme-neutral-200"
/>
<div
class="flex items-center h-full px-3 -mt-1 cursor-pointer text-theme-primary-300"
class="flex items-center h-full px-6 cursor-pointer text-theme-primary-300"
>
<div
class="sc-AxjAm bsDiDM"
height="42"
width="42"
class="sc-AxjAm jmgDQY"
height="22"
width="22"
>
<svg>
sent.svg
Expand Down
6 changes: 4 additions & 2 deletions src/app/components/NavigationBar/NavigationBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,13 +136,15 @@ export const NavigationBar = ({

<div className="flex items-center">
<NotificationsDropdown {...notifications} onAction={onNotificationAction} />

<div className="h-8 border-r border-theme-neutral-200" />

<div className="flex items-center h-full px-3 -mt-1 cursor-pointer text-theme-primary-300">
<Icon name="Sent" width={42} height={42} />
<div className="flex items-center h-full px-6 cursor-pointer text-theme-primary-300">
<Icon name="Sent" width={22} height={22} />
</div>

<div className="h-8 border-r border-theme-neutral-200" />

<div className="flex items-center h-full px-6 cursor-pointer text-theme-primary-300">
<Icon name="Receive" width={22} height={22} />
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ exports[`NavigationBar should not render if no active profile 1`] = `
class="h-8 border-r border-theme-neutral-200"
/>
<div
class="flex items-center h-full px-3 -mt-1 cursor-pointer text-theme-primary-300"
class="flex items-center h-full px-6 cursor-pointer text-theme-primary-300"
>
<div
class="sc-AxjAm bsDiDM"
height="42"
width="42"
class="sc-AxjAm jmgDQY"
height="22"
width="22"
>
<svg>
sent.svg
Expand Down Expand Up @@ -208,12 +208,12 @@ exports[`NavigationBar should render 1`] = `
class="h-8 border-r border-theme-neutral-200"
/>
<div
class="flex items-center h-full px-3 -mt-1 cursor-pointer text-theme-primary-300"
class="flex items-center h-full px-6 cursor-pointer text-theme-primary-300"
>
<div
class="sc-AxjAm bsDiDM"
height="42"
width="42"
class="sc-AxjAm jmgDQY"
height="22"
width="22"
>
<svg>
sent.svg
Expand Down Expand Up @@ -363,12 +363,12 @@ exports[`NavigationBar should render with custom menu 1`] = `
class="h-8 border-r border-theme-neutral-200"
/>
<div
class="flex items-center h-full px-3 -mt-1 cursor-pointer text-theme-primary-300"
class="flex items-center h-full px-6 cursor-pointer text-theme-primary-300"
>
<div
class="sc-AxjAm bsDiDM"
height="42"
width="42"
class="sc-AxjAm jmgDQY"
height="22"
width="22"
>
<svg>
sent.svg
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const DelegateRegistrationDetail = (props: DelegateRegistrationDetailProp
label={t("TRANSACTION.AMOUNT")}
extra={
<Circle className="border-theme-danger-100 text-theme-danger-400">
<Icon name="Sent" width={40} height={40} />
<Icon name="Sent" width={16} height={16} />
</Circle>
}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,9 @@ exports[`DelegateRegistrationDetail should render a modal 1`] = `
class="sc-AxjAm bLfakz border-theme-danger-100 text-theme-danger-400"
>
<div
class="sc-AxirZ RbXVX"
height="40"
width="40"
class="sc-AxirZ hPsuTj"
height="16"
width="16"
>
<svg>
sent.svg
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const IpfsDetail = (props: IpfsDetailProps) => {
label={t("TRANSACTION.AMOUNT")}
extra={
<Circle className="border-theme-danger-100 text-theme-danger-400">
<Icon name="Sent" width={40} height={40} />
<Icon name="Sent" width={16} height={16} />
</Circle>
}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@ exports[`IpfsDetail should render a modal 1`] = `
class="sc-AxjAm bLfakz border-theme-danger-100 text-theme-danger-400"
>
<div
class="sc-AxirZ RbXVX"
height="40"
width="40"
class="sc-AxirZ hPsuTj"
height="16"
width="16"
>
<svg>
sent.svg
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const MultiPaymentDetail = (props: MultiPaymentDetailProps) => {
label={t("TRANSACTION.TOTAL_AMOUNT")}
extra={
<Circle className="border-theme-danger-100 text-theme-danger-400">
<Icon name="Sent" width={40} height={40} />
<Icon name="Sent" width={16} height={16} />
</Circle>
}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -295,9 +295,9 @@ exports[`MultiPaymentDetail should render a modal 1`] = `
class="sc-AxjAm bLfakz border-theme-danger-100 text-theme-danger-400"
>
<div
class="sc-AxirZ RbXVX"
height="40"
width="40"
class="sc-AxirZ hPsuTj"
height="16"
width="16"
>
<svg>
sent.svg
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export const FirstStep = () => {
label={t("TRANSACTION.AMOUNT")}
extra={
<Circle className="border-theme-danger-100 text-theme-danger-400">
<Icon name="Sent" width={40} height={40} />
<Icon name="Sent" width={16} height={16} />
</Circle>
}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ exports[`MultiSignatureDetail should render 1st step 1`] = `
class="sc-AxhCb fwVCao border-theme-danger-100 text-theme-danger-400"
>
<div
class="sc-AxjAm hoUaGk"
height="40"
width="40"
class="sc-AxjAm vZRQY"
height="16"
width="16"
>
<svg>
sent.svg
Expand Down Expand Up @@ -780,9 +780,9 @@ exports[`MultiSignatureDetail should render a modal and get to step 3 1`] = `
class="sc-AxhCb fwVCao border-theme-danger-100 text-theme-danger-400"
>
<div
class="sc-AxjAm hoUaGk"
height="40"
width="40"
class="sc-AxjAm vZRQY"
height="16"
width="16"
>
<svg>
sent.svg
Expand Down Expand Up @@ -1266,9 +1266,9 @@ exports[`MultiSignatureDetail should render a modal and go back 1`] = `
class="sc-AxhCb fwVCao border-theme-danger-100 text-theme-danger-400"
>
<div
class="sc-AxjAm hoUaGk"
height="40"
width="40"
class="sc-AxjAm vZRQY"
height="16"
width="16"
>
<svg>
sent.svg
Expand Down
4 changes: 2 additions & 2 deletions src/domains/transaction/pages/Registration/Registration.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -364,8 +364,8 @@ export const FifthStep = () => (
className="pb-0"
extra={
<div className="ml-1 text-theme-danger">
<Circle className="bg-theme-background border-theme-danger-200" size="lg">
<Icon name="Sent" width={50} height={50} />
<Circle className="bg-theme-background border-theme-danger-200">
<Icon name="Sent" width={16} height={16} />
</Circle>
</div>
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1745,12 +1745,12 @@ exports[`Registration should render 5th step 1`] = `
class="ml-1 text-theme-danger"
>
<div
class="sc-AxiKw jQtkkF bg-theme-background border-theme-danger-200"
class="sc-AxiKw eHzXqc bg-theme-background border-theme-danger-200"
>
<div
class="sc-AxhUy dFCItS"
height="50"
width="50"
class="sc-AxhUy itzhkW"
height="16"
width="16"
>
<svg>
sent.svg
Expand Down Expand Up @@ -2901,12 +2901,12 @@ exports[`Registration should submit 1`] = `
class="ml-1 text-theme-danger"
>
<div
class="sc-AxiKw jQtkkF bg-theme-background border-theme-danger-200"
class="sc-AxiKw eHzXqc bg-theme-background border-theme-danger-200"
>
<div
class="sc-AxhUy dFCItS"
height="50"
width="50"
class="sc-AxhUy itzhkW"
height="16"
width="16"
>
<svg>
sent.svg
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ export const FourthStep = () => (
extra={
<div className="ml-1 text-theme-danger">
<Circle className="bg-theme-background border-theme-danger-200" size="lg">
<Icon name="Sent" width={50} height={50} />
<Icon name="Sent" width={22} height={22} />
</Circle>
</div>
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1109,9 +1109,9 @@ exports[`ResignRegistration should render 4th step 1`] = `
class="sc-AxgMl daFHdi bg-theme-background border-theme-danger-200"
>
<div
class="sc-AxirZ iyilmn"
height="50"
width="50"
class="sc-AxirZ hmuEJr"
height="22"
width="22"
>
<svg>
sent.svg
Expand Down Expand Up @@ -1813,9 +1813,9 @@ exports[`ResignRegistration should submit 1`] = `
class="sc-AxgMl daFHdi bg-theme-background border-theme-danger-200"
>
<div
class="sc-AxirZ iyilmn"
height="50"
width="50"
class="sc-AxirZ hmuEJr"
height="22"
width="22"
>
<svg>
sent.svg
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export const FourthStep = () => (
extra={
<div className="ml-1 text-theme-danger">
<Circle className="bg-theme-background border-theme-danger-200" size="lg">
<Icon name="Sent" width={50} height={50} />
<Icon name="Sent" width={22} height={22} />
</Circle>
</div>
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1182,9 +1182,9 @@ exports[`SendIPFSTransaction should render 4th step 1`] = `
class="sc-AxiKw jQtkkF bg-theme-background border-theme-danger-200"
>
<div
class="sc-AxhUy dFCItS"
height="50"
width="50"
class="sc-AxhUy gwxBWy"
height="22"
width="22"
>
<svg>
sent.svg
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export const FifthStep = () => (
extra={
<div className="ml-1 text-theme-danger">
<Circle className="bg-theme-background border-theme-danger-200" size="lg">
<Icon name="Sent" width={50} height={50} />
<Icon name="Sent" width={22} height={22} />
</Circle>
</div>
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1966,9 +1966,9 @@ exports[`Transaction Send should render 5th step 1`] = `
class="sc-AxiKw jQtkkF bg-theme-background border-theme-danger-200"
>
<div
class="sc-AxhUy dFCItS"
height="50"
width="50"
class="sc-AxhUy gwxBWy"
height="22"
width="22"
>
<svg>
sent.svg
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ export const FourthStep = () => (
extra={
<div className="ml-1 text-theme-danger">
<Circle className="bg-theme-background border-theme-danger-200" size="lg">
<Icon name="Sent" width={50} height={50} />
<Icon name="Sent" width={22} height={22} />
</Circle>
</div>
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1383,9 +1383,9 @@ exports[`UpdateRegistration should render 4th step 1`] = `
class="sc-AxiKw jQtkkF bg-theme-background border-theme-danger-200"
>
<div
class="sc-AxhUy dFCItS"
height="50"
width="50"
class="sc-AxhUy gwxBWy"
height="22"
width="22"
>
<svg>
sent.svg
Expand Down Expand Up @@ -2233,9 +2233,9 @@ exports[`UpdateRegistration should submit 1`] = `
class="sc-AxiKw jQtkkF bg-theme-background border-theme-danger-200"
>
<div
class="sc-AxhUy dFCItS"
height="50"
width="50"
class="sc-AxhUy gwxBWy"
height="22"
width="22"
>
<svg>
sent.svg
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ export const FourthStep = () => (
extra={
<div className="ml-1 text-theme-danger">
<Circle className="bg-theme-background border-theme-danger-200" size="lg">
<Icon name="Sent" width={50} height={50} />
<Icon name="Sent" width={22} height={22} />
</Circle>
</div>
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1714,9 +1714,9 @@ exports[`SendVoteTransaction should render 4st step 1`] = `
class="sc-AxiKw jQtkkF bg-theme-background border-theme-danger-200"
>
<div
class="sc-AxhUy dFCItS"
height="50"
width="50"
class="sc-AxhUy gwxBWy"
height="22"
width="22"
>
<svg>
sent.svg
Expand Down