From 6262409184963ee894450b76a5653a133d9aaad5 Mon Sep 17 00:00:00 2001 From: Zeke Zhang <958414905@qq.com> Date: Fri, 23 Feb 2024 11:29:17 +0800 Subject: [PATCH] style: set size of icon button (#3560) --- packages/core/client/src/user/CurrentUser.tsx | 2 ++ packages/core/client/src/user/Help.tsx | 2 ++ 2 files changed, 4 insertions(+) diff --git a/packages/core/client/src/user/CurrentUser.tsx b/packages/core/client/src/user/CurrentUser.tsx index 689ea329d..a881e785e 100644 --- a/packages/core/client/src/user/CurrentUser.tsx +++ b/packages/core/client/src/user/CurrentUser.tsx @@ -171,6 +171,8 @@ export const CurrentUser = () => { className={css` display: inline-block; vertical-align: top; + width: 46px; + height: 46px; &:hover { background: rgba(255, 255, 255, 0.1) !important; } diff --git a/packages/core/client/src/user/Help.tsx b/packages/core/client/src/user/Help.tsx index 4ef213740..896298944 100644 --- a/packages/core/client/src/user/Help.tsx +++ b/packages/core/client/src/user/Help.tsx @@ -69,6 +69,8 @@ export const Help = () => { className={css` display: inline-block; vertical-align: top; + width: 46px; + height: 46px; &:hover { background: rgba(255, 255, 255, 0.1) !important; }