Commit be47169f by archer

fix: 侧边栏收缩

parent 58a010c1
...@@ -218,10 +218,7 @@ const SlideBar = ({ ...@@ -218,10 +218,7 @@ const SlideBar = ({
</RenderButton> </RenderButton>
<RenderButton <RenderButton
onClick={() => { onClick={onOpenShare}
onOpenShare();
onClose();
}}
> >
<> <>
<MyIcon name="share" fill={'white'} w={'16px'} h={'16px'} mr={4} /> <MyIcon name="share" fill={'white'} w={'16px'} h={'16px'} mr={4} />
...@@ -253,6 +250,7 @@ const SlideBar = ({ ...@@ -253,6 +250,7 @@ const SlideBar = ({
'已复制分享链接' '已复制分享链接'
); );
onCloseShare(); onCloseShare();
onClose()
}} }}
> >
分享空白对话 分享空白对话
...@@ -263,6 +261,7 @@ const SlideBar = ({ ...@@ -263,6 +261,7 @@ const SlideBar = ({
onClick={() => { onClick={() => {
copyData(`${location.origin}/chat?chatId=${chatId}`, '已复制分享链接'); copyData(`${location.origin}/chat?chatId=${chatId}`, '已复制分享链接');
onCloseShare(); onCloseShare();
onClose()
}} }}
> >
分享当前对话 分享当前对话
......
...@@ -66,7 +66,6 @@ svg { ...@@ -66,7 +66,6 @@ svg {
} }
* { * {
-moz-outline-style: none;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0); -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-webkit-focus-ring-color: rgba(0, 0, 0, 0); -webkit-focus-ring-color: rgba(0, 0, 0, 0);
outline: none; outline: none;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment