Skip to content

Commit

Permalink
Minor UI changes - month selector error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
dmytrotkk committed Jan 3, 2024
1 parent fa75f18 commit 31e96f7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 75 deletions.
4 changes: 2 additions & 2 deletions src/App.scss
Original file line number Diff line number Diff line change
Expand Up @@ -471,8 +471,8 @@ code {
max-width: calc(100vw - 32px);

.logo {
height: 60pt;
margin: 30px 0;
height: 65pt;
margin: 35px 0;
width: 100%;
text-align: center;

Expand Down
1 change: 1 addition & 0 deletions src/components/MonthSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ export default function MonthSelector(props: {
setCustomPeriod(Number(textPeriod))
}
props.setTopupPeriod(Number(textPeriod))
props.setErrorMsg(undefined)
}}
>
<p className={cls(cmn.p, cmn.p2)}>Apply</p>
Expand Down
68 changes: 0 additions & 68 deletions src/components/MonthSlider.tsx

This file was deleted.

10 changes: 5 additions & 5 deletions src/components/SchainDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export default function SchainDetails(props: {
<a target="_blank" rel="noreferrer" href={explorerUrl} className="undec">
<Button
size="medium"
className={styles.btnAction}
className={cls(styles.btnAction, cmn.mri10)}
startIcon={<WidgetsRoundedIcon />}
>
Block Explorer
Expand All @@ -144,10 +144,10 @@ export default function SchainDetails(props: {
<Button
startIcon={<AddCircleRoundedIcon />}
size="medium"
className={styles.btnAction}
className={cls(styles.btnAction, cmn.mri10)}
onClick={addNetwork}
>
Add network
Connect Wallet
</Button>
</div>
<div>
Expand All @@ -160,10 +160,10 @@ export default function SchainDetails(props: {
>
<Button
size="medium"
className={styles.btnAction}
className={cls(styles.btnAction, cmn.mri10)}
startIcon={<ArrowOutwardRoundedIcon />}
>
Open website
Open Website
</Button>
</a>
) : null}
Expand Down

0 comments on commit 31e96f7

Please sign in to comment.