Setting constraints for resizing comment textarea in notifications (#12079)
* tooltips 1.0.1 * tooltips 1.0.1 * set constraints for resizing comment textarea in notifications
This commit is contained in:
parent
1c4e54a25d
commit
0e94e7ffa5
2 changed files with 8 additions and 1 deletions
|
|
@ -728,5 +728,12 @@
|
|||
),
|
||||
(),
|
||||
true
|
||||
),
|
||||
(
|
||||
'resize',
|
||||
'resize',
|
||||
('x': horizontal, 'y': vertical, 'none': none),
|
||||
(),
|
||||
false
|
||||
)
|
||||
);
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@
|
|||
<%= f.hidden_field :commentable_type, value: json_data["comment"]["commentable"]["class"]["name"] %>
|
||||
|
||||
<%= f.hidden_field :parent_id, value: json_data["comment"]["id"] %>
|
||||
<%= f.text_area :body_markdown, id: "comment-textarea-for-#{json_data['comment']['id']}", class: "crayons-textfield mb-2", placeholder: "Reply...", 'aria-label': "Reply to a comment..." %>
|
||||
<%= f.text_area :body_markdown, id: "comment-textarea-for-#{json_data['comment']['id']}", class: "crayons-textfield mb-2 resize-y", placeholder: "Reply...", 'aria-label': "Reply to a comment..." %>
|
||||
<div class="actions">
|
||||
<button type="submit" class="crayons-btn comment-action-button" onclick="validateField(event)">Submit</button>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue