fix(Actions): Improper spacing (#35724)

This commit is contained in:
Geidō
2025-10-21 20:10:00 +02:00
committed by GitHub
parent fcfafebb29
commit bad03b1e76

View File

@@ -103,6 +103,9 @@ const Actions = styled.div`
}
}
color: ${theme.colorTextDisabled};
&:hover {
cursor: not-allowed;
}
.ant-menu-item:hover {
cursor: default;
}
@@ -479,7 +482,7 @@ const DatasetList: FunctionComponent<DatasetListProps> = ({
<span
role="button"
tabIndex={0}
className={allowEdit ? 'action-button' : 'disabled'}
className={`action-button ${allowEdit ? '' : 'disabled'}`}
onClick={allowEdit ? handleEdit : undefined}
>
<Icons.EditOutlined iconSize="l" />