mirror of
https://github.com/element-hq/element-web
synced 2024-11-21 16:55:34 +03:00
bump max-height to 16 lines in the rich text editors (#10670)
This commit is contained in:
parent
223892bf0e
commit
70326b98f2
1 changed files with 2 additions and 2 deletions
|
@ -71,8 +71,8 @@ limitations under the License.
|
|||
/* while keeping the autocomplete at the top */
|
||||
/* of the composer. The parent needs to be a flex container for this to work. */
|
||||
margin: auto 0;
|
||||
/* max-height at this level so autocomplete doesn't get scrolled too */
|
||||
max-height: 140px;
|
||||
/* the line height is $font-22px (set in _Editor.pcss) and we want to display 16 lines */
|
||||
max-height: calc(16 * $font-22px);
|
||||
overflow-y: auto;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue