From 2f5fadb57312c325ac4e5d87c261e7dc4c77d162 Mon Sep 17 00:00:00 2001 From: A1300399510 Date: Wed, 18 Dec 2024 15:50:13 +0800 Subject: [PATCH] no message --- css/details.css | 5 +++++ css/details.less | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/css/details.css b/css/details.css index 830c0ea..45f10ad 100644 --- a/css/details.css +++ b/css/details.css @@ -205,6 +205,7 @@ font-size: 15px; color: #555555; cursor: pointer; + position: relative; } .content .side .item.pitch { width: calc(100% + 1px); @@ -240,6 +241,10 @@ height: 16px; font-size: 12px; border-radius: 10px; + position: absolute; + right: 5px; + top: 50%; + transform: translateY(-50%); } .content .details-box { background-color: #fbfbfb; diff --git a/css/details.less b/css/details.less index 56a5944..a102718 100644 --- a/css/details.less +++ b/css/details.less @@ -229,6 +229,7 @@ font-size: 15px; color: #555555; cursor: pointer; + position: relative; &.pitch { &:first-of-type { @@ -266,6 +267,10 @@ height: 16px; font-size: 12px; border-radius: 10px; + position: absolute; + right: 5px; + top: 50%; + transform: translateY(-50%) } } }