fix: 侧边栏收缩

This commit is contained in:
archer
2023-03-20 09:36:49 +08:00
parent 58a010c12c
commit be47169fa8
2 changed files with 3 additions and 5 deletions

View File

@@ -218,10 +218,7 @@ const SlideBar = ({
</RenderButton>
<RenderButton
onClick={() => {
onOpenShare();
onClose();
}}
onClick={onOpenShare}
>
<>
<MyIcon name="share" fill={'white'} w={'16px'} h={'16px'} mr={4} />
@@ -253,6 +250,7 @@ const SlideBar = ({
'已复制分享链接'
);
onCloseShare();
onClose()
}}
>
@@ -263,6 +261,7 @@ const SlideBar = ({
onClick={() => {
copyData(`${location.origin}/chat?chatId=${chatId}`, '已复制分享链接');
onCloseShare();
onClose()
}}
>

View File

@@ -66,7 +66,6 @@ svg {
}
* {
-moz-outline-style: none;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-webkit-focus-ring-color: rgba(0, 0, 0, 0);
outline: none;