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 {