mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 11:22:47 +08:00
Use class instead of inline style
This commit is contained in:
parent
5485248fbe
commit
5b14f713a0
|
@ -1,6 +1,6 @@
|
||||||
<label class="btn {{if addDisabled 'disabled'}}">
|
<label class="btn {{if addDisabled 'disabled'}}">
|
||||||
{{d-icon "upload"}}
|
{{d-icon "upload"}}
|
||||||
{{i18n 'admin.watched_words.form.upload'}}
|
{{i18n 'admin.watched_words.form.upload'}}
|
||||||
<input disabled={{addDisabled}} type="file" accept="text/plain,text/csv" style="visibility: hidden; position: absolute;" />
|
<input class="hidden-upload-field" disabled={{addDisabled}} type="file" accept="text/plain,text/csv" />
|
||||||
</label>
|
</label>
|
||||||
<span class="instructions">{{i18n 'tagging.upload_instructions'}}</span>
|
<span class="instructions">{{i18n 'tagging.upload_instructions'}}</span>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user