Skip to content

Commit 06de89d

Browse files
committed
bioming
1 parent 89b3b2f commit 06de89d

File tree

5 files changed

+28
-12
lines changed

5 files changed

+28
-12
lines changed

web/apps/labelstudio/src/components/Breadcrumbs/Breadcrumbs.jsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,12 @@ export const Breadcrumbs = () => {
3535
const isInternal = findComponent(href) !== null;
3636

3737
const title = (
38-
<span className={cn("breadcrumbs").elem("label").mod({ faded: index === item.length - 1 }).toClassName()}>
38+
<span
39+
className={cn("breadcrumbs")
40+
.elem("label")
41+
.mod({ faded: index === item.length - 1 })
42+
.toClassName()}
43+
>
3944
{item.title}
4045
</span>
4146
);

web/apps/labelstudio/src/components/Form/Elements/RadioGroup/RadioGroup.jsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,10 @@ const RadioButton = ({ value, disabled, children, label, description, ...props }
8989
}, [props.checked]);
9090

9191
return (
92-
<div className={cn("radio-group-ls").elem("button").mod({ checked, disabled }).toClassName()} onClickCapture={clickHandler}>
92+
<div
93+
className={cn("radio-group-ls").elem("button").mod({ checked, disabled }).toClassName()}
94+
onClickCapture={clickHandler}
95+
>
9396
{isSimple ? (
9497
<Label placement="right" text={label} description={description}>
9598
<input

web/apps/labelstudio/src/components/Menu/Menu.jsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,7 @@ Menu.Group = ({ children, title, className, style }) => {
8484
return (
8585
<div className={cn("menu-group").mix(className).toClassName()} style={style}>
8686
<div className={cn("menu-group").elem("title").toClassName()}>{title}</div>
87-
<ul className={cn("menu-group").elem("list").toClassName()}>
88-
{children}
89-
</ul>
87+
<ul className={cn("menu-group").elem("list").toClassName()}>{children}</ul>
9088
</div>
9189
);
9290
};

web/apps/labelstudio/src/components/Space/Space.jsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@ import "./Space.scss";
33

44
export const Space = ({ direction = "horizontal", size, className, style, children, spread, stretch, align }) => {
55
return (
6-
<div className={cn("space-ls").mod({ direction, size, spread, stretch, align }).mix(className).toClassName()} style={style}>
6+
<div
7+
className={cn("space-ls").mod({ direction, size, spread, stretch, align }).mix(className).toClassName()}
8+
style={style}
9+
>
710
{children}
811
</div>
912
);

web/apps/labelstudio/src/pages/ExportPage/ExportPage.jsx

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -145,15 +145,20 @@ export const ExportPage = () => {
145145
const FormatInfo = ({ availableFormats, selected, onClick }) => {
146146
return (
147147
<div className={cn("formats").toClassName()}>
148-
<div className={cn("formats").elem("info").toClassName()}>You can export dataset in one of the following formats:</div>
148+
<div className={cn("formats").elem("info").toClassName()}>
149+
You can export dataset in one of the following formats:
150+
</div>
149151
<div className={cn("formats").elem("list").toClassName()}>
150152
{availableFormats.map((format) => (
151153
<div
152154
key={format.name}
153-
className={cn("formats").elem("item").mod({
154-
active: !format.disabled,
155-
selected: format.name === selected,
156-
}).toClassName()}
155+
className={cn("formats")
156+
.elem("item")
157+
.mod({
158+
active: !format.disabled,
159+
selected: format.name === selected,
160+
})
161+
.toClassName()}
157162
onClick={!format.disabled ? () => onClick(format) : null}
158163
>
159164
<div className={cn("formats").elem("name").toClassName()}>
@@ -168,7 +173,9 @@ const FormatInfo = ({ availableFormats, selected, onClick }) => {
168173
</Space>
169174
</div>
170175

171-
{format.description && <div className={cn("formats").elem("description").toClassName()}>{format.description}</div>}
176+
{format.description && (
177+
<div className={cn("formats").elem("description").toClassName()}>{format.description}</div>
178+
)}
172179
</div>
173180
))}
174181
</div>

0 commit comments

Comments
 (0)