Skip to content

Commit

Permalink
edit: increase tap area of switch partner mode button
Browse files Browse the repository at this point in the history
  • Loading branch information
vinaybadgujar102 committed Jun 29, 2024
1 parent 65bac01 commit 1d44bbc
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 11 deletions.
16 changes: 12 additions & 4 deletions src/components/Header/Header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,21 @@
align-items: center;
justify-content: flex-start;
flex: 1;
gap: 16px;

.header-logo-wrapper {
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
flex-grow: 0;
height: 58px;
padding-left: 20px;
padding-right: 16px;
}

img {
height: 30px;
width: 30px;
cursor: pointer;
flex-grow: 0;
margin-left: 20px;
}
}

Expand Down
11 changes: 4 additions & 7 deletions src/components/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,10 @@ const Header: React.FC<IHeader> = ({ title, debounceSearch }) => {
) : (
<>
<div className="header-logo-title">
<img
className={isFlipping ? "logo-flip" : ""}
onClickCapture={handlePartner}
src={zinzenLightLogo}
alt="ZinZen"
ref={zinZenLogoRef}
/>
<div className="header-logo-wrapper" onClickCapture={handlePartner}>
<img className={isFlipping ? "logo-flip" : ""} src={zinzenLightLogo} alt="ZinZen" ref={zinZenLogoRef} />
</div>

<PartnerModeTour refTarget={zinZenLogoRef} />
<h6
onClickCapture={() => {
Expand Down

0 comments on commit 1d44bbc

Please sign in to comment.