mirror of
https://github.com/penpot/penpot.git
synced 2025-12-12 06:24:17 +01:00
🐛 fix text not being truncated with an ellipsis in the interactions panel
This commit is contained in:
committed by
Alonso Torres
parent
0a3a896dc9
commit
93815e1b0d
@@ -9,7 +9,8 @@
|
|||||||
.custom-select {
|
.custom-select {
|
||||||
@include titleTipography;
|
@include titleTipography;
|
||||||
position: relative;
|
position: relative;
|
||||||
display: flex;
|
display: grid;
|
||||||
|
grid-template-columns: 1fr auto;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
height: $s-32;
|
height: $s-32;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -20,10 +21,7 @@
|
|||||||
border: $s-1 solid var(--menu-background-color);
|
border: $s-1 solid var(--menu-background-color);
|
||||||
color: var(--menu-foreground-color);
|
color: var(--menu-foreground-color);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
.current-label {
|
|
||||||
width: 100%;
|
|
||||||
flex-grow: 1;
|
|
||||||
}
|
|
||||||
.current-icon {
|
.current-icon {
|
||||||
@include flexCenter;
|
@include flexCenter;
|
||||||
height: $s-24;
|
height: $s-24;
|
||||||
@@ -109,3 +107,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.current-label {
|
||||||
|
@include textEllipsis;
|
||||||
|
}
|
||||||
|
|||||||
@@ -47,8 +47,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
.element-set {
|
.element-set {
|
||||||
@include flexColumn;
|
@include flexColumn;
|
||||||
@@ -65,11 +63,14 @@
|
|||||||
|
|
||||||
.interactions-info {
|
.interactions-info {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
|
display: grid;
|
||||||
|
|
||||||
.trigger-name {
|
.trigger-name {
|
||||||
color: var(--color-foreground-primary);
|
color: var(--color-foreground-primary);
|
||||||
}
|
}
|
||||||
.action-summary {
|
.action-summary {
|
||||||
color: var(--color-foreground-secondary);
|
color: var(--color-foreground-secondary);
|
||||||
|
@include textEllipsis;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -216,7 +217,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.remove-btn {
|
.remove-btn {
|
||||||
@extend .button-tertiary;
|
@extend .button-tertiary;
|
||||||
height: $s-32;
|
height: $s-32;
|
||||||
|
|||||||
Reference in New Issue
Block a user