0
0
Fork 0

Add emoji suggestions to CW and poll option fields (#10555)

* Refactor selectComposeSuggestion so that different paths can be updated

* Add suggestions in CW field

* Add emoji suggestion to poll options

* Attempt to fix CSS

* Hide suggestions by default

They will be enabled if the input has focus
This commit is contained in:
ThibG 2019-05-09 22:10:27 +02:00 committed by Eugen Rochko
parent 62f5235b6f
commit f2be71c293
10 changed files with 328 additions and 24 deletions

View file

@ -319,6 +319,7 @@
}
.autosuggest-textarea,
.autosuggest-input,
.spoiler-input {
position: relative;
}

View file

@ -37,11 +37,14 @@
display: none;
}
.autossugest-input {
flex: 1 1 auto;
}
input[type=text] {
display: block;
box-sizing: border-box;
flex: 1 1 auto;
width: 20px;
width: 100%;
font-size: 14px;
color: $inverted-text-color;
display: block;
@ -64,6 +67,7 @@
&.editable {
display: flex;
align-items: center;
overflow: visible;
}
}