bronjaermin 2 лет назад
Родитель
Сommit
5af36aa7a2

+ 1
- 1
package.json Просмотреть файл

"yup": "^0.32.9" "yup": "^0.32.9"
}, },
"scripts": { "scripts": {
"start": "react-scripts start",
"start": "react-scripts --openssl-legacy-provider start",
"build": "react-scripts build", "build": "react-scripts build",
"test": "react-scripts test", "test": "react-scripts test",
"eject": "react-scripts eject", "eject": "react-scripts eject",

+ 10
- 4
src/assets/styles/components/_files.scss Просмотреть файл

align-self: flex-start; align-self: flex-start;
} }


.pdf-canvas canvas{
.pdf-canvas canvas {
width: 100% !important; width: 100% !important;
} }


.pg-viewer-wrapper .document-container{
.pg-viewer-wrapper .document-container {
width: 100% !important; width: 100% !important;
background: none; background: none;
} }


.document-container{
.document-container {
height: 100%; height: 100%;
} }


flex-wrap: wrap; flex-wrap: wrap;
} }


.files-page-categories-responsive{
.files-page-categories-responsive {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
} }


.files-custom-modal { .files-custom-modal {
width: 500px !important; width: 500px !important;
@include media-below($bp-xl) {
width: 250px !important;
}
} }


.files-edit-note { .files-edit-note {
display: flex; display: flex;
justify-content: flex-end; justify-content: flex-end;
margin-top: 12px; margin-top: 12px;
@include media-below($bp-xl) {
justify-content: center;
}
} }


.files-category-custom-modal-buttons button { .files-category-custom-modal-buttons button {

+ 4
- 1
src/assets/styles/components/_modal.scss Просмотреть файл

text-transform: uppercase; text-transform: uppercase;
letter-spacing: 1px !important; letter-spacing: 1px !important;
font-size: 12px !important; font-size: 12px !important;
min-width: 200px !important;
} }


.dialog-btn:last-of-type{ .dialog-btn:last-of-type{
padding: 20px 0px 15px 0px; padding: 20px 0px 15px 0px;
} }
} }

.confirm-dialog-responsive h5 {
text-align: left !important;
}

+ 11
- 8
src/components/MUI/ConfirmDialog.js Просмотреть файл

}} }}
src={imgSrc} src={imgSrc}
/> />
<h5 style={{ textAlign: "start" }}>{title}</h5>
<div className="confirm-dialog-responsive" style={{display: "flex", flexDirection: "column", alignItems: "flex-start"}}>
<h5>{title}</h5>

<p
className="dialog-subtitle"
style={{ marginTop: "-10px", wordBreak: "break-word", margin: 0, width: "100%" }}
data-testid="full-screen-elem"
>
| {subtitle}
</p>
</div>
<div style={{ justifySelf: "stretch", flex: "1" }}></div> <div style={{ justifySelf: "stretch", flex: "1" }}></div>
<IconButton onClick={onClose}> <IconButton onClick={onClose}>
<img <img
/> />
</IconButton> </IconButton>
</div> </div>
<p
className="dialog-subtitle"
style={{ paddingLeft: "23px", marginTop: "-10px" }}
data-testid="full-screen-elem"
>
| {subtitle}
</p>
</> </>
) : ( ) : (
<div <div

Загрузка…
Отмена
Сохранить