uploads: fix source field being too short.
This commit is contained in:
@@ -64,10 +64,6 @@ div#c-uploads {
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.upload_source {
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.upload_rating .radio label {
|
div.upload_rating .radio label {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
display: inline;
|
display: inline;
|
||||||
|
|||||||
@@ -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 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>
|
||||||
|
|
||||||
<div class="upload_source_container">
|
<div class="input string optional upload_source">
|
||||||
<%= f.input :source, as: :string, placeholder: "Enter the URL to upload here", input_html: { value: params[:url] } %>
|
<%= 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" %>
|
<%= tag.button "Similar", id: "similar-button" %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user