scroller: reduce one transform

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/672/head
Varun Patil 2023-05-23 20:44:53 -07:00
parent 3b93e85ab6
commit 1762404d13
1 changed files with 2 additions and 3 deletions

View File

@ -655,15 +655,14 @@ export default defineComponent({
> .icon { > .icon {
display: none; display: none;
transform: translate(-3px, -1px);
color: var(--color-main-text); color: var(--color-main-text);
opacity: 0.75; opacity: 0.75;
:deep > .menu-up-icon { :deep > .menu-up-icon {
transform: translateY(5px); transform: translate(-3px, 4px);
} }
:deep > .menu-down-icon { :deep > .menu-down-icon {
transform: translateY(-5px); transform: translate(-3px, -6px);
} }
} }
} }