Skip to content

Commit 0379883

Browse files
author
denis.vybornov
committed
MFRU-12750 fixed after review
1 parent 56a87d5 commit 0379883

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

src/components/Simulations/Simulations.pcss

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,6 @@ $(b) {
2727
width: 120px;
2828
}
2929

30-
&__menu-button_example {
31-
color: var(--spbSky3) !important;
32-
33-
box-shadow: inset 0 0 0 1px var(--spbSky3) !important;
34-
}
35-
3630
&__fields {
3731
display: grid;
3832
flex-direction: flex-end;
@@ -333,6 +327,13 @@ $(b) {
333327

334328
&__import-buttons {
335329
display: flex;
336-
justify-content: space-around;
330+
gap: 24px;
331+
justify-content: center;
332+
}
333+
334+
&__import-button_example {
335+
color: var(--spbSky3) !important;
336+
337+
box-shadow: inset 0 0 0 1px var(--spbSky3) !important;
337338
}
338339
}

src/components/Simulations/Simulations.tsx

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -266,16 +266,6 @@ const Simulations: React.FC<ISimulationsProps> = ({ onChange, onDelete, onImport
266266
>
267267
Import
268268
</Button>
269-
<Button
270-
className={cn('menu-button', { example: true })}
271-
sizeAll="small"
272-
type="outline"
273-
theme="black"
274-
actionType="button"
275-
onClick={handleExample}
276-
>
277-
Example
278-
</Button>
279269
</div>
280270
<div className={cn('fields')}>
281271
<TextField
@@ -330,6 +320,15 @@ const Simulations: React.FC<ISimulationsProps> = ({ onChange, onDelete, onImport
330320
<div className={cn('import-pairs')}>File have {importData.pairs.length} valid simulations</div>
331321
)}
332322
<div className={cn('import-buttons')}>
323+
<Button
324+
className={cn('import-button', { example: true })}
325+
type="outline"
326+
theme="black"
327+
actionType="button"
328+
onClick={handleExample}
329+
>
330+
Example
331+
</Button>
333332
<Button
334333
disabled={importData.pairs.length === 0}
335334
actionType="button"

0 commit comments

Comments
 (0)