From 0a72ad847aad17cf7dbffc239dec0d62c34a10d1 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 08 九月 2022 18:22:10 +0800 Subject: [PATCH] 2022-09-08 --- src/menu/components/table/normal-table/columns/index.scss | 28 ++++++++++++++++++++++++++++ 1 files changed, 28 insertions(+), 0 deletions(-) diff --git a/src/menu/components/table/normal-table/columns/index.scss b/src/menu/components/table/normal-table/columns/index.scss index 3d4835c..db07412 100644 --- a/src/menu/components/table/normal-table/columns/index.scss +++ b/src/menu/components/table/normal-table/columns/index.scss @@ -15,6 +15,24 @@ tr { td { background: #ffffff; + .col-copy { + margin-bottom: 0; + display: inline-block; + .ant-typography-copy { + position: absolute; + left: 2px; + top: 0px; + margin-left: 0px; + font-size: 12px; + opacity: 0; + transition: opacity 0.2s; + } + } + } + td:hover .col-copy { + .ant-typography-copy { + opacity: 1; + } } td:not(.ant-table-selection-column) { position: relative; @@ -26,6 +44,16 @@ color: purple; font-size: 12px; } + >.close-col { + position: absolute; + top: 2px; + right: 2px; + color: orange; + font-size: 12px; + } + >.profile + .close-col { + right: 20px; + } } } .action-column { -- Gitblit v1.8.0