refactor: clarify frontend module ownership
This commit is contained in:
@@ -28,6 +28,8 @@ const EntryCard: FC<EntryCardProps> = (props) => {
|
||||
}
|
||||
: undefined;
|
||||
|
||||
const titleLineClamp = props.wrap ? undefined : 1;
|
||||
|
||||
const valueContainerClass = props.actions ? classes.valueFooter : undefined;
|
||||
const valueLabelClass = `${classes[props.tone]} ${props.actions ? classes.valueLabel : ""}`;
|
||||
|
||||
@@ -49,7 +51,7 @@ const EntryCard: FC<EntryCardProps> = (props) => {
|
||||
</Avatar>
|
||||
|
||||
<Stack className={classes.identity} gap={2}>
|
||||
<Text fw={700} lineClamp={1}>
|
||||
<Text fw={700} lineClamp={titleLineClamp}>
|
||||
{props.title}
|
||||
</Text>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user