0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-23 23:18:48 -05:00

🐛 Show code icon on preview hover

This commit is contained in:
Eva 2022-02-22 12:49:22 +01:00 committed by Andrey Antukh
parent a4ef3f770c
commit 941174a9fa
2 changed files with 10 additions and 7 deletions

View file

@ -6,6 +6,7 @@
### :sparkles: New features
### :bug: Bugs fixed
- Fix display code icon on preview hover [Taiga #2838](https://tree.taiga.io/project/penpot/us/2838)
- Duplicate artboards create new flows if needed [Taiga #2221](https://tree.taiga.io/project/penpot/issue/2221)
- Add new invitations section [Taiga #2797](https://tree.taiga.io/project/penpot/us/2797)
- Ability to add multiple fills to a shape [Taiga #1394](https://tree.taiga.io/project/penpot/us/1394)

View file

@ -319,19 +319,21 @@
margin-top: 0.5rem;
border-top: 1px solid $color-gray-60;
.code-row-lang {
position: relative;
display: flex;
flex-direction: row;
margin: 0.5rem;
&:hover {
&:hover {
.code-row-lang {
.expand-button,
.copy-button {
visibility: visible;
opacity: 1;
}
}
}
.code-row-lang {
position: relative;
display: flex;
flex-direction: row;
margin: 0.5rem;
.code-selection {
height: 100%;