uploads: fix source field being too short.

This commit is contained in:
evazion
2021-02-25 06:13:41 -06:00
parent 1b93cbd075
commit cf62e13394
2 changed files with 3 additions and 6 deletions

View File

@@ -64,10 +64,6 @@ div#c-uploads {
display: inline-block;
}
div.upload_source {
display: inline-block;
}
div.upload_rating .radio label {
font-weight: normal;
display: inline;

View File

@@ -34,8 +34,9 @@
<div class="dropzone-hint hint">Max size: <%= number_to_human_size(Danbooru.config.max_file_size) %>. Supported filetypes: jpg, png, gif, swf, mp4, webm.</div>
</div>
<div class="upload_source_container">
<%= f.input :source, as: :string, placeholder: "Enter the URL to upload here", input_html: { value: params[:url] } %>
<div class="input string optional upload_source">
<%= f.label :source %>
<%= f.input_field :source, as: :string, placeholder: "Enter the URL to upload here", value: params[:url] %>
<%= tag.button "Similar", id: "similar-button" %>
</div>