fixed moving text

This commit is contained in:
2026-02-24 13:48:22 +08:00
parent ef2232958d
commit 8580c0c6ac

View File

@@ -49,8 +49,8 @@
} }
.dropdownContainer { .dropdownContainer {
width: 201px; /* width: 201px;
height: 28px; height: 28px; */
cursor: pointer; cursor: pointer;
position: relative; position: relative;
} }
@@ -69,27 +69,21 @@
line-height: normal; line-height: normal;
} }
.dropdownBtn > div { .dropdownBtn > div {
display: flex; display: inline-flex;
padding: 8px; padding: 8px;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
gap: 10px; gap: 10px;
border-radius: 100px; border-radius: 100px;
border: 1px solid #b8badc00;
} }
.dropdownBtn > div:hover { .dropdownBtn > div:hover {
border-radius: 100px;
border: 1px solid #b8badc; border: 1px solid #b8badc;
border: 1px solid color(display-p3 0.7238 0.7303 0.8531);
background: linear-gradient( background: linear-gradient(
180deg, 180deg,
rgba(149, 154, 255, 0.25) 0%, rgba(149, 154, 255, 0.25) 0%,
rgba(88, 91, 151, 0.25) 100% rgba(88, 91, 151, 0.25) 100%
); );
background: linear-gradient(
180deg,
color(display-p3 0.5892 0.6031 0.9766 / 0.25) 0%,
color(display-p3 0.3479 0.3561 0.5766 / 0.25) 100%
);
} }
/* Dropdown */ /* Dropdown */
.dropdown { .dropdown {