add some style
This commit is contained in:
parent
89e1b4a12d
commit
a40445b141
|
|
@ -365,3 +365,39 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.positionButtons{
|
||||||
|
display: flex;
|
||||||
|
margin: 8px;
|
||||||
|
margin-bottom: 30px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.toTop{
|
||||||
|
transform: rotate(-90deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.toBotton{
|
||||||
|
transform: rotate(90deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.toTop ,
|
||||||
|
.toBotton{
|
||||||
|
outline: none;
|
||||||
|
border: none;
|
||||||
|
border-radius: 10px;
|
||||||
|
padding: 5px 10px;
|
||||||
|
background: var(--primary);
|
||||||
|
color: var(--white);
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
gap: 5px;
|
||||||
|
font-size: 28px;
|
||||||
|
min-width: fit-content;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: 0.5s ease-in-out;
|
||||||
|
&:hover {
|
||||||
|
scale: 1.1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -19,6 +19,11 @@
|
||||||
// z-index: 99999;
|
// z-index: 99999;
|
||||||
// }
|
// }
|
||||||
}
|
}
|
||||||
|
.ant-input,
|
||||||
|
.LaTeXInput span textarea.ant-input {
|
||||||
|
cursor:text !important;
|
||||||
|
|
||||||
|
}
|
||||||
.showPreviewInput {
|
.showPreviewInput {
|
||||||
background-color: var(--bg);
|
background-color: var(--bg);
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
@ -27,23 +32,17 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: calc(100% - 44px);
|
height: calc(100% - 44px);
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
display: flex;
|
/* شيل display:flex حتى ما يكسر النصوص */
|
||||||
gap: 5px;
|
display: block;
|
||||||
align-items: baseline;
|
|
||||||
align-content: flex-start;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
border: 1px solid #d9d9d9;
|
border: 1px solid #d9d9d9;
|
||||||
padding: 5px 10px;
|
padding: 5px 10px;
|
||||||
row-gap: 0px;
|
white-space: pre-line; /* يحترم \n */
|
||||||
white-space:pre-line;
|
overflow-y: auto;
|
||||||
overflow-y: auto;
|
min-height: 164px;
|
||||||
resize: none;
|
max-height: 270px;
|
||||||
// height: 165px;
|
|
||||||
min-height: 164px;
|
|
||||||
max-height: 270px;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.addMML {
|
.addMML {
|
||||||
all: unset;
|
all: unset;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
|
@ -69,6 +68,24 @@
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.imageModal{
|
||||||
|
padding: 30px;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
.bg-upload{
|
||||||
|
width: fit-content;
|
||||||
|
margin: auto;
|
||||||
|
}
|
||||||
|
.buttons {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: flex-end;
|
||||||
|
padding: 20px;
|
||||||
|
gap: 20px;
|
||||||
|
margin-top: 20px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.LatexPreview {
|
.LatexPreview {
|
||||||
height: 40px;
|
height: 40px;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user