From b372b06dc08d94731223cef2a741fe7a7a6a09bb Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 09 一月 2025 13:55:59 +0800 Subject: [PATCH] 2025-01-09 --- src/menu/components/share/sourcecomponent/index.scss | 20 +++++++++++++++----- 1 files changed, 15 insertions(+), 5 deletions(-) diff --git a/src/menu/components/share/sourcecomponent/index.scss b/src/menu/components/share/sourcecomponent/index.scss index 156af96..e1707cf 100644 --- a/src/menu/components/share/sourcecomponent/index.scss +++ b/src/menu/components/share/sourcecomponent/index.scss @@ -18,11 +18,21 @@ cursor: pointer; display: none; } + .anticon-copy { + position: absolute; + top: 3px; + right: 30px; + padding-right: 0px; + color: #26C281; + cursor: pointer; + display: none; + } a { display: inline-block; - width: 100%; + min-width: 60%; + max-width: calc(100% - 80px); padding-left: 22px; - padding-right: 14px; + padding-right: 0px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; @@ -50,20 +60,20 @@ height: 32px; line-height: 32px; } - .anticon-delete { + .anticon-delete, .anticon-copy { top: 8px; } } .mk-source-item-info.avatar { display: flex; top: 0px; - .anticon-delete { + .anticon-delete, .anticon-copy { top: 8px; } } .mk-source-item-info:hover { background-color: #e6f7ff; - .anticon-delete { + .anticon-delete, .anticon-copy { display: inline-block; } } -- Gitblit v1.8.0