fix: hover时加边框内容会偏移 修正边框样式

This commit is contained in:
ZiuChen 2022-08-16 12:16:40 +08:00
parent 8ec4d96ee9
commit 527d0518ba

View File

@ -3,8 +3,10 @@
.clip-item {
display: flex;
justify-content: space-between;
border: 0px solid #eee;
border-width: 0px 0px 1px 0px;
border: 0px solid @bg-color;
/* 有上边框占用px 但是不显示(与背景同色) */
border-width: 1px 0px 1px 0px;
border-color: @bg-color @bg-color #eee @bg-color;
cursor: pointer;
&:hover {
border: 0px solid @primary-color;