added scroll bar on new message editor

This commit is contained in:
Nicolas Constant 2019-07-26 00:22:51 -04:00
parent 469d04d9bd
commit 1885459eef
No known key found for this signature in database
GPG Key ID: 1E9F677FB01A5688
2 changed files with 17 additions and 15 deletions

View File

@ -1,8 +1,9 @@
<div class="panel">
<h3 class="panel__title">new message</h3>
<app-create-status (onClose)="closeColumn()"
[isDirectMention]="isDirectMention"
[replyingUserHandle]="userHandle"
[redraftedStatus]="redraftedStatus"></app-create-status>
<div class=" new-message-body flexcroll">
<app-create-status (onClose)="closeColumn()" [isDirectMention]="isDirectMention"
[replyingUserHandle]="userHandle" [redraftedStatus]="redraftedStatus"></app-create-status>
</div>
</div>

View File

@ -1,6 +1,7 @@
@import "variables";
@import "panel";
@import "buttons";
@import "commons";
$btn-send-status-width: 60px;
@ -19,17 +20,17 @@ $btn-send-status-width: 60px;
position: relative;
top: -1px;
left: 5px;
// background-color: orange;
// border-color: orange;
// color: black;
font-weight: 500;
// &:hover {
// }
// &:focus {
// border-color: darkblue;
// }
}
.panel {
padding-left: 0;
padding-right: 0;
}
.new-message-body {
overflow: auto;
height: calc(100% - 30px);
padding-left: 5px;
padding-right: 5px;
}