Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ac08aef65c |
No files matched your search
@@ -1,3 +1,5 @@
|
|||||||
|
## 0.18.4
|
||||||
|
- Правка стилей модальных окон
|
||||||
## 0.18.3
|
## 0.18.3
|
||||||
- Изменен репозиторий библиотеки isp-ui-kit
|
- Изменен репозиторий библиотеки isp-ui-kit
|
||||||
- Обновлена версия библиотеки isp-ui-kit
|
- Обновлена версия библиотеки isp-ui-kit
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "isp-admin-ui",
|
"name": "isp-admin-ui",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.18.3",
|
"version": "0.18.4",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "vite",
|
"start": "vite",
|
||||||
|
|||||||
@@ -9,6 +9,8 @@ import { ConfigType } from '@pages/ModulesPage/module.type.ts'
|
|||||||
|
|
||||||
import configServiceApi from '@services/configService.ts'
|
import configServiceApi from '@services/configService.ts'
|
||||||
|
|
||||||
|
import './confirm-config-modal.scss'
|
||||||
|
|
||||||
interface ConfirmModalProps extends Omit<ModalPropsType, 'title' | 'children'> {
|
interface ConfirmModalProps extends Omit<ModalPropsType, 'title' | 'children'> {
|
||||||
handleSaveClick: (upVersion?: number, unsafe?: boolean) => void
|
handleSaveClick: (upVersion?: number, unsafe?: boolean) => void
|
||||||
setBufConfig: Dispatch<SetStateAction<ConfigType | undefined>>
|
setBufConfig: Dispatch<SetStateAction<ConfigType | undefined>>
|
||||||
@@ -39,7 +41,7 @@ const ConfirmConfigModal: FC<ConfirmModalProps> = ({
|
|||||||
onClose={onClose}
|
onClose={onClose}
|
||||||
>
|
>
|
||||||
<Button
|
<Button
|
||||||
className="confirm-modal-btn danger"
|
className="confirm-btn danger"
|
||||||
type="primary"
|
type="primary"
|
||||||
danger
|
danger
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
@@ -49,7 +51,7 @@ const ConfirmConfigModal: FC<ConfirmModalProps> = ({
|
|||||||
>
|
>
|
||||||
Сохранить принудительно
|
Сохранить принудительно
|
||||||
</Button>
|
</Button>
|
||||||
<Button className="confirm-modal-btn" type="primary" onClick={onConfirmHandler}>
|
<Button className="confirm-btn" type="primary" onClick={onConfirmHandler}>
|
||||||
Принять изменения
|
Принять изменения
|
||||||
</Button>
|
</Button>
|
||||||
</Modal>
|
</Modal>
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
.modal__content {
|
||||||
|
display: flex;
|
||||||
|
gap: 10px;
|
||||||
|
}
|
||||||
@@ -129,11 +129,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.modal__wrap {
|
.modal__wrap {
|
||||||
min-height: 100px;
|
min-height: 110px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.confirm-btn {
|
.confirm-btn {
|
||||||
width: 190px;
|
width: auto;
|
||||||
|
min-width: 190px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.error-data {
|
.error-data {
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
border: none;
|
border: none;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
padding: 0 !important;
|
padding: 5px !important;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 8px;
|
top: 8px;
|
||||||
right: 8px;
|
right: 8px;
|
||||||
|
|||||||
@@ -40,16 +40,16 @@
|
|||||||
&__title {
|
&__title {
|
||||||
color: $grey;
|
color: $grey;
|
||||||
font-size: 17px;
|
font-size: 17px;
|
||||||
padding-right: 20px;
|
padding: 0 10px;
|
||||||
}
|
}
|
||||||
&__content {
|
&__content {
|
||||||
|
padding: 10px;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
color: #2c3e50;
|
color: #2c3e50;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
display: flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
}
|
}
|
||||||
&__footer {
|
&__footer {
|
||||||
|
padding: 0 10px;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: end;
|
justify-content: end;
|
||||||
margin-top: $basic-margin;
|
margin-top: $basic-margin;
|
||||||
|
|||||||
Reference in new issue
Block a user