From fde3286e82d8fc45de1d6dbcf49753217a8e2b5e Mon Sep 17 00:00:00 2001 From: ZiuChen <457353192@qq.com> Date: Fri, 16 Sep 2022 11:10:27 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=A2=84=E8=A7=88=E9=A1=B5=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E6=8C=89=E9=92=AE=E5=B1=85=E4=B8=AD=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/style/cpns/clip-full-data.less | 10 ++++++++-- src/style/cpns/clip-operate.less | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/style/cpns/clip-full-data.less b/src/style/cpns/clip-full-data.less index d500515..3c2cbf8 100644 --- a/src/style/cpns/clip-full-data.less +++ b/src/style/cpns/clip-full-data.less @@ -12,9 +12,13 @@ word-break: break-all; white-space: pre-wrap; .clip-full-operate-list { + position: fixed; + right: 50%; + z-index: 99; + box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2); display: flex; align-items: center; - justify-content: flex-end; + justify-content: center; color: @text-color; background-color: @text-bg-color; padding: 5px 5px; @@ -22,9 +26,11 @@ border-radius: 5px; } .clip-full-content { - background-color: @text-bg-color; + position: relative; + top: 50px; padding: 20px; border-radius: 5px; + background-color: @text-bg-color; } &::-webkit-scrollbar { width: 10px; diff --git a/src/style/cpns/clip-operate.less b/src/style/cpns/clip-operate.less index de50178..69a2dbc 100644 --- a/src/style/cpns/clip-operate.less +++ b/src/style/cpns/clip-operate.less @@ -1,7 +1,7 @@ .clip-operate { display: flex; align-items: center; - justify-content: flex-end; + justify-content: center; flex-wrap: wrap; min-width: 180px; padding: 0px 10px;