🐛 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:
cristhianzl 2024-02-26 14:56:30 -03:00
commit 2b7ed05ed0
2 changed files with 1 additions and 2 deletions

View file

@ -135,7 +135,6 @@ export default function GenericNode({
const iconClassName = `generic-node-icon ${
!showNode ? "absolute inset-x-6 h-12 w-12" : ""
}`;
if (iconElement && isEmoji) {
return nodeIconFragment(iconElement);
} else {

View file

@ -276,7 +276,7 @@
@apply h-10 w-10 rounded p-1;
}
.generic-node-tooltip-div {
@apply ml-2 truncate;
@apply ml-2 max-w-[220px] truncate;
}
.generic-node-validation-div {
@apply max-h-96 overflow-auto;