🐛 fix(GenericNode): remove unnecessary line break in GenericNode component
🎨 style(applies.css): increase max-width of generic-node-tooltip-div to 220px for better text truncation
This commit is contained in:
parent
c89b3fcc46
commit
2b7ed05ed0
2 changed files with 1 additions and 2 deletions
|
|
@ -135,7 +135,6 @@ export default function GenericNode({
|
||||||
const iconClassName = `generic-node-icon ${
|
const iconClassName = `generic-node-icon ${
|
||||||
!showNode ? "absolute inset-x-6 h-12 w-12" : ""
|
!showNode ? "absolute inset-x-6 h-12 w-12" : ""
|
||||||
}`;
|
}`;
|
||||||
|
|
||||||
if (iconElement && isEmoji) {
|
if (iconElement && isEmoji) {
|
||||||
return nodeIconFragment(iconElement);
|
return nodeIconFragment(iconElement);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
|
|
@ -276,7 +276,7 @@
|
||||||
@apply h-10 w-10 rounded p-1;
|
@apply h-10 w-10 rounded p-1;
|
||||||
}
|
}
|
||||||
.generic-node-tooltip-div {
|
.generic-node-tooltip-div {
|
||||||
@apply ml-2 truncate;
|
@apply ml-2 max-w-[220px] truncate;
|
||||||
}
|
}
|
||||||
.generic-node-validation-div {
|
.generic-node-validation-div {
|
||||||
@apply max-h-96 overflow-auto;
|
@apply max-h-96 overflow-auto;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue