Merge pull request #12957 from xundeenergie/optical-improvements-dropzone

Optical improvements dropzone fixes #12944
This commit is contained in:
Hypolite Petovan 2023-03-29 08:35:26 -04:00 committed by GitHub
commit c9104b322c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 2 deletions

View file

@ -201,16 +201,19 @@
} }
.dropzone, .dropzone * { .dropzone, .dropzone * {
box-sizing: border-box; box-sizing: border-box;
overflow: auto;
} }
.dropzone:not(textarea) { .dropzone:not(textarea) {
border: 1px solid rgba(0, 0, 0, 0.3); border: 1px solid rgba(0, 0, 0, 0.3);
padding: 0px 0px 5px 0px; padding: 0px 0px 5px 0px;
color: #999;
} }
.dropzone.dz-clickable { .dropzone.dz-clickable {
cursor: pointer; cursor: pointer;
border-radius: 4px; border-radius: 4px;
background-color: $background_color; background-color: $background_color;
margin-bottom: 10px;
} }
.dropzone.dz-clickable * { .dropzone.dz-clickable * {
cursor: default; cursor: default;

File diff suppressed because one or more lines are too long

View file

@ -38,7 +38,7 @@
</button> </button>
</span> </span>
</p> </p>
<div id="dropzone-{{$id}}" class="dropzone" style="overflow:scroll"> <div id="dropzone-{{$id}}" class="dropzone">
<p> <p>
<textarea id="comment-edit-text-{{$id}}" class="dropzone comment-edit-text-empty form-control text-autosize" name="body" placeholder="{{$comment}}" rows="3" data-default="{{$default}}" dir="auto">{{$default}}</textarea> <textarea id="comment-edit-text-{{$id}}" class="dropzone comment-edit-text-empty form-control text-autosize" name="body" placeholder="{{$comment}}" rows="3" data-default="{{$default}}" dir="auto">{{$default}}</textarea>
</p> </p>