Make RichTextInput position: relative

This commit is contained in:
Henrik Giesel 2022-08-01 02:07:16 +02:00
parent bf9f6650cb
commit 3aba3772aa
2 changed files with 8 additions and 1 deletions

View file

@ -8,12 +8,15 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
<style> <style>
.field-description { .field-description {
position: absolute;
top: 0;
left: 0;
opacity: 0.4; opacity: 0.4;
cursor: text; cursor: text;
/* same as in ContentEditable */ /* same as in ContentEditable */
padding: 6px; padding: 6px;
/* stay a on single line */ /* stay a on single line */
position: absolute;
max-width: 95%; max-width: 95%;
overflow-x: hidden; overflow-x: hidden;
white-space: nowrap; white-space: nowrap;

View file

@ -208,6 +208,10 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
</div> </div>
<style lang="scss"> <style lang="scss">
.rich-text-input {
position: relative;
}
.hidden { .hidden {
display: none; display: none;
} }