Skip to content

Commit

Permalink
fix(header): fix header avatar margins (#1322)
Browse files Browse the repository at this point in the history
  • Loading branch information
OggyKUN authored Oct 6, 2024
1 parent 37dcdcc commit 393683b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@
.containerSwichAccount {
display: grid;
font-size: 14px;
grid-template-columns: 1fr 105px;
grid-template-columns: 1fr 100px;
gap: 25px;
align-items: center;
height: 95px;
justify-content: center;
height: 90px;

@media (max-width: 540px) {
grid-template-columns: 1fr 60px;
Expand All @@ -45,7 +46,7 @@
color: var(--primary-color);
}

&+& {
& + & {
margin-top: -30px;
}

Expand All @@ -68,6 +69,7 @@
}

.content {
display: flex;
justify-content: center;
}

Expand Down Expand Up @@ -150,4 +152,4 @@
width: 60px;
height: 60px;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ function SwitchAccount() {
? routes.robotPassport.getLink(passport.extension.nickname)
: routes.robot.path
}
className={styles.content}
// onClick={() => setControlledVisible(!controlledVisible)}
>
<div
Expand Down

0 comments on commit 393683b

Please sign in to comment.