Skip to content

Commit

Permalink
fix(Cell): fixed some css var invalid
Browse files Browse the repository at this point in the history
  • Loading branch information
anlyyao committed Sep 24, 2024
1 parent 8c666df commit 4e0e953
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/cell/cell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,10 @@ export default defineComponent({
const description = readerTNodeJSX('description');
return (
<div class={`${cellClass.value}__title`}>
{title}
{props.required && <span class={`${cellClass.value}--required`}>&nbsp;*</span>}
<div class={`${cellClass.value}__title-text`}>
{title}
{props.required && <span class={`${cellClass.value}--required`}>&nbsp;*</span>}
</div>
{description && <div class={`${cellClass.value}__description`}>{description}</div>}
</div>
);
Expand Down

0 comments on commit 4e0e953

Please sign in to comment.