mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-28 22:19:41 -08:00
set to 1 line when selected
This commit is contained in:
parent
f4ec2e46ca
commit
551177565d
|
@ -267,17 +267,15 @@ export default mixins(externalHooks, nodeBase, nodeHelpers, workflowHelpers).ext
|
||||||
cursor: default;
|
cursor: default;
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
|
|
||||||
.node-name {
|
.node-name > p { // must be paragraph tag to have two lines in safari
|
||||||
> p { // must be paragraph tag to have two lines in safari
|
text-overflow: ellipsis;
|
||||||
text-overflow: ellipsis;
|
display: -webkit-box;
|
||||||
display: -webkit-box;
|
-webkit-box-orient: vertical;
|
||||||
-webkit-box-orient: vertical;
|
-webkit-line-clamp: 2;
|
||||||
-webkit-line-clamp: 2;
|
overflow: hidden;
|
||||||
overflow: hidden;
|
overflow-wrap: anywhere;
|
||||||
overflow-wrap: anywhere;
|
font-weight: var(--font-weight-bold);
|
||||||
font-weight: var(--font-weight-bold);
|
line-height: var(--font-line-height-compact);
|
||||||
line-height: var(--font-line-height-compact);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.node-subtitle {
|
.node-subtitle {
|
||||||
|
@ -424,6 +422,10 @@ export default mixins(externalHooks, nodeBase, nodeHelpers, workflowHelpers).ext
|
||||||
left: -8px !important;
|
left: -8px !important;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
width: 116px !important;
|
width: 116px !important;
|
||||||
|
|
||||||
|
.node-name > p {
|
||||||
|
-webkit-line-clamp: 1 !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.desc {
|
.desc {
|
||||||
|
|
Loading…
Reference in a new issue