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

Commit 006f556

Browse files
committed
fix: scroll for api token
1 parent 8bef163 commit 006f556

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/components/ApiTokenNavbarItem/api_token_switcher.module.scss

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
width: rem(1.2);
4343
height: rem(1.2);
4444
transform: rotate(0deg);
45-
transition: transform .2s;
45+
transition: transform 0.2s;
4646
}
4747
&:hover {
4848
text-decoration: none;
@@ -75,7 +75,7 @@
7575
width: rem(1.5);
7676
height: rem(1.5);
7777
transform: rotate(0deg);
78-
transition: transform .2s ease-in-out;
78+
transition: transform 0.2s ease-in-out;
7979
}
8080
&.active::after {
8181
transform: rotate(-180deg);
@@ -115,6 +115,8 @@
115115
display: flex;
116116
flex-direction: column;
117117
gap: rem(0.8);
118+
overflow-y: scroll;
119+
max-height: rem(40);
118120
}
119121
@media (max-width: 1200px) {
120122
position: fixed;

0 commit comments

Comments
 (0)