perf: UI优化

This commit is contained in:
pipipi-pikachu 2022-07-24 14:25:03 +08:00
parent fadaefda94
commit 09661dc3ed
2 changed files with 4 additions and 5 deletions

View File

@ -16,11 +16,11 @@
}
// dropdown
.ant-dropdown {
min-width: 120px;
}
.ant-dropdown-menu {
min-width: 150px;
box-shadow: $boxShadow;
border: 1px solid $borderColor;
margin-top: -4px;
}
.ant-dropdown-menu-item {

View File

@ -135,7 +135,6 @@ const goIssues = () => {
align-items: center;
font-size: 14px;
padding: 0 10px;
transition: background-color $transitionDelay;
cursor: pointer;
.text {
@ -144,6 +143,6 @@ const goIssues = () => {
}
.left .menu-item:hover {
background-color: $lightGray;
background-color: #f9f9f9;
}
</style>