Skip to content
This repository has been archived by the owner on Nov 7, 2019. It is now read-only.

Commit

Permalink
templates/image_upload_widget: replace formgroup class with inline fo…
Browse files Browse the repository at this point in the history
…rm so entire unit is clickable
  • Loading branch information
Phillippa authored and Magdalena Noffke committed Oct 15, 2019
1 parent c6be722 commit 76cdd12
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions liqd_product/assets/scss/components/_upload.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
.form-control-file:focus + input {
border-color: $brand-secondary;
}

.far,
.fas {
line-height: 1.4;
}
}

.upload-wrapper__fields,
Expand Down
2 changes: 1 addition & 1 deletion liqd_product/templates/a4images/image_upload_widget.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% load i18n %}
<div class="upload-wrapper form-control-upload">
<div class="upload-wrapper__fields input-group">
<div class="upload-wrapper__fields form-inline">
{{ file_input }}
{{ text_input }}
<div class="input-group-append">
Expand Down

0 comments on commit 76cdd12

Please sign in to comment.