Skip to content

Commit 6c687fd

Browse files
committed
Cleanup
1 parent 1365a15 commit 6c687fd

File tree

5 files changed

+4
-254
lines changed

5 files changed

+4
-254
lines changed

label_studio/core/static/css/uikit.css

Lines changed: 0 additions & 250 deletions
This file was deleted.

web/apps/labelstudio/src/pages/CreateProject/Config/Config.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const Label = ({ label, template, color }) => {
5656
type="button"
5757
look="string"
5858
size="smaller"
59-
variant="neutral"
59+
variant="negative"
6060
onClick={() => template.removeLabel(label)}
6161
aria-label="delete label"
6262
className="relative z-10 hover:!bg-transparent"

web/apps/labelstudio/src/pages/Settings/MachineLearningSettings/MachineLearningList.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ const BackendCard = ({ backend, onStartTrain, onEdit, onDelete, onTestRequest })
8484
</Menu>
8585
}
8686
>
87-
<Button type="link" style={{ padding: "15px" }} aria-label="Machine learning model options">
87+
<Button type="link" className="!p-[15px]" aria-label="Machine learning model options">
8888
<IconEllipsis />
8989
</Button>
9090
</Dropdown.Trigger>

web/libs/datamanager/src/components/Common/SDKButtons.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const SDKButton = ({ eventName, ...props }) => {
77
return sdk.hasHandler(eventName) ? (
88
<Button
99
{...props}
10-
size="small"
10+
size={props.size ?? "small"}
1111
look={props.look ?? "outlined"}
1212
variant={props.variant ?? "neutral"}
1313
aria-label={`${eventName.replace("Clicked", "")} button`}

web/libs/datamanager/src/components/DataManager/Toolbar/RefreshButton.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const injector = inject(({ store }) => {
1313
export const RefreshButton = injector(({ store, needsDataFetch, projectFetch, size, style, ...rest }) => {
1414
return (
1515
<Button
16-
size="small"
16+
size={size ?? "small"}
1717
look={needsDataFetch ? "filled" : "outlined"}
1818
variant={needsDataFetch ? "primary" : "neutral"}
1919
waiting={projectFetch}

0 commit comments

Comments
 (0)