2021-03-15 08:43:23 +01:00
|
|
|
foreignObject {
|
2022-01-12 11:27:43 +01:00
|
|
|
.text-editor,
|
|
|
|
.rich-text {
|
2021-03-15 08:43:23 +01:00
|
|
|
color: $color-black;
|
|
|
|
height: 100%;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
font-family: sourcesanspro;
|
|
|
|
|
|
|
|
div {
|
|
|
|
line-height: inherit;
|
|
|
|
user-select: text;
|
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
|
|
|
line-height: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.text-editor {
|
|
|
|
.DraftEditor-root {
|
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.align-top {
|
|
|
|
.DraftEditor-root {
|
|
|
|
justify-content: flex-start;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.align-center {
|
|
|
|
.DraftEditor-root {
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.align-bottom {
|
|
|
|
.DraftEditor-root {
|
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.rich-text .paragraphs {
|
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
&.align-top {
|
|
|
|
justify-content: flex-start;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.align-center {
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.align-bottom {
|
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
|
|
|
}
|
2020-04-23 14:45:06 +02:00
|
|
|
}
|