Skip to content

Commit

Permalink
Merge pull request #918 from webcompat/url-link-upload
Browse files Browse the repository at this point in the history
fix #915 - fixed position and z-index FormUpload
  • Loading branch information
karlcow committed Feb 9, 2016
2 parents d5ff763 + 039e63f commit 34772fb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions webcompat/static/css/development/components/button.css
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,5 @@
right: 0;
bottom: 0;
left: 0;
cursor: pointer;
}
2 changes: 2 additions & 0 deletions webcompat/static/css/development/components/upload-form.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
min-height: 250px;
cursor: pointer;
overflow: hidden;
z-index: 3;
}

/* Form upload wrapper */
Expand All @@ -21,6 +22,7 @@
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 2;
}
/* state */
.wc-UploadForm-wrapper.is-hidden {
Expand Down
2 changes: 1 addition & 1 deletion webcompat/templates/issue/issue-comment-submit.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<script type="text/template" id="upload-input-tmpl">
<form>
<label class="wc-UploadForm" for="image">
<div class="wc-Form-upload-wrapper">
<div class="wc-UploadForm-wrapper">
<span class="wc-UploadForm-icon" aria-hidden="true">
<span class="wc-Icon wc-Icon--cloud-upload"></span>
</span>
Expand Down

0 comments on commit 34772fb

Please sign in to comment.