feat: add flag property

This commit is contained in:
Carlos Valente
2025-07-13 12:43:33 +02:00
parent e9dda817e5
commit 637454f73d
22 changed files with 98 additions and 23 deletions
@@ -53,11 +53,11 @@ $table-header-font-size: calc(1rem - 2px);
.actionColumn {
padding-inline: 0.5rem;
padding-top: 0.5rem !important; // fighting the table styles
background-color: transparent;
display: flex;
align-items: start;
justify-content: center;
line-height: 2rem; // match input height
}
.indexColumn {
@@ -69,7 +69,7 @@ $table-header-font-size: calc(1rem - 2px);
font-size: $table-header-font-size;
line-height: 2rem; // match input height
background-color: $gray-1300; // will be overridden inline
font-weight: 600;;
font-weight: 600;
}
.tableHeader {
@@ -55,7 +55,7 @@ function EditableImage({ initialValue, updateValue }: EditableImageProps) {
Delete
</Button>
</div>
<img loading='lazy' src={initialValue} className={style.image} />
{Boolean(initialValue) && <img loading='lazy' src={initialValue} className={style.image} />}
</div>
);
}