From 2507e48deff5cbe0f2f0cc718044c5b51530a543 Mon Sep 17 00:00:00 2001 From: song-cc-rock Date: Wed, 22 Feb 2023 00:27:33 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E7=94=A8=E4=BE=8B=E9=A1=B5=E9=9D=A2=E5=B7=A6?= =?UTF-8?q?=E4=BE=A7=E6=A8=A1=E5=9D=97=E6=A0=91=E8=BF=9B=E5=85=A5=E5=85=AC?= =?UTF-8?q?=E5=85=B1=E7=94=A8=E4=BE=8B=E7=AE=AD=E5=A4=B4Hover=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/module/ModulePublicButton.vue | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/framework/sdk-parent/frontend/src/components/module/ModulePublicButton.vue b/framework/sdk-parent/frontend/src/components/module/ModulePublicButton.vue index b548a2a487..34584ba51a 100644 --- a/framework/sdk-parent/frontend/src/components/module/ModulePublicButton.vue +++ b/framework/sdk-parent/frontend/src/components/module/ModulePublicButton.vue @@ -2,8 +2,9 @@
- {{ $t('project.case_public') }} + {{ $t('project.case_public') }} {{ '(' + publicTotal + ')' }} +
@@ -69,14 +70,26 @@ export default { flex-grow: 0; } +.to-public-content { + margin-left: 5px; +} + .to-public { width: auto; border-radius: 4px; - display: flex; overflow-x: hidden; + display: flex; } .to-public:hover { background: rgba(31, 35, 41, 0.1); } + +.to-public:hover .enter-public{ + display: block!important; +} + +.to-public:hover .to-public-content{ + margin-left: -10.5px; +}