Skip to content

Commit

Permalink
UI fixes for main (#22)
Browse files Browse the repository at this point in the history
UI fixes (#20)

* fix: remove sidebar in mobile version

* fix: UI snap connection page
  • Loading branch information
WhiteNik16 authored Jan 24, 2024
1 parent 8631a7a commit 88dd17d
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 42 deletions.
55 changes: 15 additions & 40 deletions src/assets/icons/metamask-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const SnapConnection: FC<StepProps> = ({ nextStepCb, className, ...rest }) => {
name={ICON_NAMES.rarimeSnap}
/>
</div>
<div className='app__badge-item snap-connection__badge-item'>
<div className='app__badge-item snap-connection__badge-item snap-connection__badge-item-metamask'>
<Icon className='app__badge-item-icon' name={ICON_NAMES.metamask} />
</div>
</div>
Expand Down
7 changes: 6 additions & 1 deletion src/pages/MainPage/components/2_SnapConnection/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,15 @@

.snap-connection__badge-item {
&:not(.snap-connection__badge-item-snap) {
margin-left: -#{toRem(18)};
margin-left: -#{toRem(16)};
}
}

.snap-connection__badge-item-metamask {
padding: toRem(6);
background: var(--error-light);
}

.snap-connection__title {
font-size: toRem(44);
margin: toRem(32) 0 toRem(12);
Expand Down

0 comments on commit 88dd17d

Please sign in to comment.