From 150eab8a5f7c2e864362ed5c3edd02ac5bd99e17 Mon Sep 17 00:00:00 2001 From: dshclm <3321914460@qq.com> Date: Fri, 19 Jul 2024 16:18:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-admin/src/main/resources/static/css/base.css | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/ruoyi-admin/src/main/resources/static/css/base.css b/ruoyi-admin/src/main/resources/static/css/base.css index 9c83537..dcb379a 100644 --- a/ruoyi-admin/src/main/resources/static/css/base.css +++ b/ruoyi-admin/src/main/resources/static/css/base.css @@ -141,6 +141,7 @@ html, body { background-size: 100% 100%; box-shadow: 5px 5px 5px 0 rgba(0,0,0,0.5); margin: 0 10px 10px 10px; + position: relative; } .zhuantidept li:hover{ transform: translateY(-5%); @@ -408,11 +409,16 @@ a:hover{ color: #ffbb3f; } .notice{ - width: 55%; + width: 100%; height: 40px; margin: 54px auto 22px; overflow: hidden; font-weight: bold; + text-align: center; +} +.notice a{ + width: 100%; + display: inline-block; } .notice__inner{ animation: roll 36s linear infinite; @@ -423,9 +429,6 @@ a:hover{ height: 40px; line-height: 40px; padding: 0 12px; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; margin-bottom: 15px; } @keyframes roll {