Added classes to index.css

This commit is contained in:
Lucas Oliveira 2023-07-25 17:43:51 -03:00
commit 11bad4d07d
2 changed files with 11 additions and 10 deletions

View file

@ -95,15 +95,11 @@ export default function GenericNode({
"generic-node-div"
)}
>
<div className="absolute right-0 top-0">
{data.node.beta && (
<div className="h-16 w-16 overflow-hidden rounded-tr-lg">
<div className="mt-2 w-24 rotate-45 bg-status-blue text-center text-xs font-semibold text-destructive-foreground">
BETA
</div>
</div>
)}
</div>
{data.node.beta && (
<div className="beta-badge-wrapper">
<div className="beta-badge-content">BETA</div>
</div>
)}
<div className="generic-node-div-title">
<div className="generic-node-title-arrangement">
<IconComponent

View file

@ -1111,7 +1111,12 @@ The cursor: default; property value restores the browser's default cursor style
.ace-editor-save-btn {
@apply flex-max-width h-fit justify-end;
}
.beta-badge-wrapper {
@apply absolute right-0 top-0 h-16 w-16 overflow-hidden rounded-tr-lg;
}
.beta-badge-content {
@apply mt-2 w-24 rotate-45 bg-status-blue text-center text-xs font-semibold text-destructive-foreground
}
.export-modal-save-api {
@apply font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70;
}