0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-12 07:41:43 -05:00

💄 Remove nesting in css for project grid menu icon

This commit is contained in:
Belén Albeza 2024-02-28 16:54:23 +01:00 committed by Andrey Antukh
parent 7d2aef441c
commit 9594c70ec5

View file

@ -220,14 +220,16 @@ $thumbnail-default-height: $s-168; // Default width
span {
color: $db-secondary;
}
}
.project-th-icon {
align-items: center;
display: flex;
margin-right: $s-8;
margin-top: 0;
}
&.menu {
.menu {
align-items: flex-end;
display: flex;
flex-direction: column;
@ -237,7 +239,7 @@ $thumbnail-default-height: $s-168; // Default width
margin-top: $s-20;
width: 100%;
> svg {
svg {
fill: $df-secondary;
margin-right: 0;
height: $s-16;
@ -246,13 +248,11 @@ $thumbnail-default-height: $s-168; // Default width
&:hover,
&:focus {
> svg {
svg {
fill: $da-tertiary;
}
}
}
}
}
.project-th-actions.force-display {
opacity: 1;