mirror of https://github.com/zulip/zulip.git
compose: Fix bug causing layout shift on expanding compose box.
The messagebox-wrapper div is removed, and it's only style `flex: 1` is applied to the messagebox div. The `height: 100%` and `margin-top: 5px` styles on the messagebox div were earlier causing it to move 5px down, outside the messagebox-wrapper div, when the compose box was expanded.
This commit is contained in:
parent
af76d80856
commit
50fcc740bc
|
@ -244,13 +244,10 @@
|
|||
margin: 0;
|
||||
height: 100%;
|
||||
|
||||
.messagebox-wrapper {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.messagebox {
|
||||
/* normally 5px 14px; pull in the right and bottom a bit */
|
||||
cursor: default;
|
||||
flex: 1;
|
||||
padding: 0;
|
||||
background: none;
|
||||
box-shadow: none;
|
||||
|
|
|
@ -71,7 +71,6 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="messagebox-wrapper">
|
||||
<div class="messagebox">
|
||||
<div id="message-content-container">
|
||||
<textarea class="new_message_textarea" name="content" id='compose-textarea' placeholder="{{t 'Compose your message here' }}" tabindex="0" aria-label="{{t 'Compose your message here...' }}"></textarea>
|
||||
|
@ -109,7 +108,6 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue