Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Commit 1e86c07

Browse files
committed
1inch lp dialog: fix style
1 parent 884326a commit 1e86c07

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

src/assets/svg/logo_v2_white.svg

+5
Loading

src/components/OneInchV2Logo/index.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import {MEDIA_WIDTHS} from "../../theme";
33
import {useDarkModeManager} from "../../state/user/hooks";
44
import styled from 'styled-components'
55
import V2LogoImg from '../../assets/svg/logo_v2.svg'
6+
import V2LogoImgWhite from '../../assets/svg/logo_v2_white.svg'
67

78
const V2Icon = styled.div<{ mobile?: boolean }>`
89
width: 150px;
@@ -31,7 +32,7 @@ export default function V2Logo({mobile, ...rest}: {mobile?: boolean }) {
3132

3233
return (
3334
<V2Icon mobile={mobile}>
34-
<img src={isDark ? V2LogoImg : V2LogoImg} alt="logo" />
35+
<img src={isDark ? V2LogoImgWhite : V2LogoImg} alt="logo" />
3536
</V2Icon>
3637
)
3738
}

src/components/Wordmark/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export default function Wordmark() {
112112
<AutoColumn gap="lg" style={{ width: '100%' }}>
113113
<RowBetween style={{ padding: '0 2rem' }}>
114114
<div />
115-
<StyledCloseIcon />
115+
<StyledCloseIcon onClick={() => setNotificationWasShown()} />
116116
</RowBetween>
117117
{/*<Break />*/}
118118
<div style={{ overflow: 'auto', height: 500 }}>

src/pages/AppBody.tsx

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import React, {useState} from 'react'
2-
import Wordmark from '../components/Wordmark'
32
import Logo from "../components/Logo";
43
import styled from 'styled-components'
54
import UnicornSvg from '../components/UnicornSvg'
@@ -31,9 +30,9 @@ export default function AppBody({ children, disabled }: { children: React.ReactN
3130
const [highlight, setHighlight] = useState<boolean>(false);
3231

3332
return <HeadersPlusBodyWrapper>
34-
<div className="onlyDesktop" onMouseEnter={() => setHighlight(true)} onMouseLeave={() => setHighlight(false)}>
33+
<div className="onlyDesktop" style={{ paddingBottom: '2rem' }}
34+
onMouseEnter={() => setHighlight(true)} onMouseLeave={() => setHighlight(false)}>
3535
<Logo/>
36-
<Wordmark />
3736
</div>
3837
<UnicornSvg highlight={highlight} />
3938
<UnicornSvg highlight={highlight} flip={true} />

0 commit comments

Comments
 (0)