fix heart icon position
This commit is contained in:
parent
5ce7109026
commit
b3934b3d98
2 changed files with 17 additions and 3 deletions
|
@ -359,7 +359,11 @@
|
|||
align-items: center;
|
||||
border-radius: var(--mediaItemRadius);
|
||||
position: relative;
|
||||
|
||||
&:hover{
|
||||
.heart-icon{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.popular {
|
||||
background-image: url(assets/star.svg);
|
||||
background-repeat: no-repeat;
|
||||
|
@ -475,7 +479,7 @@
|
|||
.heart-icon {
|
||||
display: flex;
|
||||
position: absolute;
|
||||
left: -25px;
|
||||
left: 20px;
|
||||
}
|
||||
|
||||
/* CSS.gg
|
||||
|
|
|
@ -497,7 +497,17 @@
|
|||
flex-direction: column;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
|
||||
.cd-mediaitem-list-item{
|
||||
&:hover{
|
||||
.heart-icon{
|
||||
display:flex;
|
||||
}
|
||||
}
|
||||
.heart-icon{
|
||||
left: -25px;
|
||||
}
|
||||
}
|
||||
|
||||
.editTracksBtn {
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue