Skip to content

Commit 6903acf

Browse files
magsoutkarlcow
authored andcommitted
Issue #2100 - removing button is now a cross on top right
1 parent 16fba60 commit 6903acf

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

webcompat/static/css/src/form.css

+9-8
Original file line numberDiff line numberDiff line change
@@ -258,15 +258,16 @@
258258
}
259259

260260
.form-upload .label-remove:not(.is-hidden) {
261-
align-items: center;
262-
display: flex;
263-
flex-direction: column;
264-
height: 100%;
265-
justify-content: center;
266-
left: 0;
261+
background-color: #fff;
262+
border: 1px solid rgba(255, 201, 0, 1);
263+
border-radius: 50%;
264+
cursor: pointer;
265+
left: auto;
266+
padding: .8em;
267+
position: absolute;
268+
right: 0;
267269
top: 0;
268-
transform: none;
269-
width: 100%;
270+
transform: translate(50%, -50%);
270271
}
271272

272273
.icon-remove,

webcompat/templates/home-page/form.html

+1-3
Original file line numberDiff line numberDiff line change
@@ -95,13 +95,11 @@ <h1 class="headline-1">Report Site Issue</h1>
9595
</div>
9696

9797
<div class="label-icon label-remove is-hidden js-remove-upload">
98-
<svg class="icon icon-big" role="presentation" title="Remove Screenshot">
98+
<svg class="icon" role="presentation" title="Remove Screenshot">
9999
<use class="icon-remove" xlink:href="#svg-x">Remove Screenshot</use>
100100
</svg>
101-
<small class="label-icon-message">Remove screenshot</small>
102101
</div>
103102

104-
105103
<div class="label-icon label-error is-hidden js-error-upload">
106104
<svg class="icon icon-big" role="presentation" title="An error occoured">
107105
<use class="icon-error" xlink:href="#svg-warning">An error occoured</use>

0 commit comments

Comments
 (0)