2024-12-04 09:24:59: merge [main:a8ae60cddef51ce3d049adeef9583db54efce913];

This commit is contained in:
txix committed 2024-12-04 09:24:59 +03:00
1 parent 03fa976526
commit ac08aef65c
7 files changed
+18 -9

No files matched your search

@@ -9,6 +9,8 @@ import { ConfigType } from '@pages/ModulesPage/module.type.ts'
import configServiceApi from '@services/configService.ts'
import './confirm-config-modal.scss'
interface ConfirmModalProps extends Omit<ModalPropsType, 'title' | 'children'> {
handleSaveClick: (upVersion?: number, unsafe?: boolean) => void
setBufConfig: Dispatch<SetStateAction<ConfigType | undefined>>
@@ -39,7 +41,7 @@ const ConfirmConfigModal: FC<ConfirmModalProps> = ({
onClose={onClose}
>
<Button
className="confirm-modal-btn danger"
className="confirm-btn danger"
type="primary"
danger
onClick={() => {
@@ -49,7 +51,7 @@ const ConfirmConfigModal: FC<ConfirmModalProps> = ({
>
Сохранить принудительно
</Button>
<Button className="confirm-modal-btn" type="primary" onClick={onConfirmHandler}>
<Button className="confirm-btn" type="primary" onClick={onConfirmHandler}>
Принять изменения
</Button>
</Modal>
@@ -0,0 +1,4 @@
.modal__content {
display: flex;
gap: 10px;
}
@@ -129,11 +129,12 @@
}
.modal__wrap {
min-height: 100px;
min-height: 110px;
}
.confirm-btn {
width: 190px;
width: auto;
min-width: 190px;
}
.error-data {
+1 -1
View File
@@ -2,7 +2,7 @@
border: none;
background: transparent;
box-shadow: none;
padding: 0 !important;
padding: 5px !important;
position: absolute;
top: 8px;
right: 8px;
+3 -3
View File
@@ -40,16 +40,16 @@
&__title {
color: $grey;
font-size: 17px;
padding-right: 20px;
padding: 0 10px;
}
&__content {
padding: 10px;
font-size: 14px;
color: #2c3e50;
overflow: auto;
display: flex;
justify-content: space-between;
}
&__footer {
padding: 0 10px;
display: flex;
justify-content: end;
margin-top: $basic-margin;