styles:部分icon在hover的时候,需要有背景色

This commit is contained in:
黄海婷
2022-11-01 19:17:44 +08:00
committed by 早晚会起风
parent dd5869e246
commit c69c289bc4
6 changed files with 49 additions and 15 deletions

View File

@@ -35,14 +35,19 @@
}
.edit-icon-box {
position: relative;
width: 20px;
width: 24px;
cursor: pointer;
.edit-icon {
position: absolute;
bottom: 2px;
margin-left: 4px;
font-size: 16px;
color: #74788d;
position: absolute;
bottom: -2px;
padding: 3px;
margin-left: 4px;
font-size: 16px;
color: #74788d;
border-radius: 50%;
&:hover {
background: rgba(33, 37, 41, 0.04);
}
}
}
}
@@ -205,9 +210,15 @@
margin-bottom: 10px;
.icon {
padding: 3px 3px 2px 3px;
margin-left: 4px;
font-size: 14px;
cursor: pointer;
border-radius: 50%;
line-height: 12px;
&:hover {
background: rgba(33, 37, 41, 0.04);
}
}
}