Fix css bug.

This commit is contained in:
BoHung Chiu 2021-11-29 11:11:30 +08:00
parent 4118f5d7f6
commit 1c5ded4a08
7 changed files with 7 additions and 7 deletions

View File

@ -76,7 +76,7 @@
</span>
<div class="col-sm-10">
<label style="float: left;border-color: #666666" class="btn">
<%= f.file_field :file, :required => f.object.new_record?, :style=>"position: absolute;width: 0.00000001em;" %>
<%= f.file_field :file, :required => f.object.new_record?, :style=>"position: absolute;width: 0.00000001em;border: 0;margin: 0;padding: 0;" %>
<%= t('seminar_signup.load_file') %>
</label>
<div class="filename" style="float: left;margin-left: 0.3em; "><%= f.object["file"] if f.object.file.present? %></div>