diff --git a/4chan_x.user.js b/4chan_x.user.js
index 8076cfcb6..abb4af952 100644
--- a/4chan_x.user.js
+++ b/4chan_x.user.js
@@ -1377,7 +1377,7 @@
text = '';
}
tid || (tid = g.THREAD_ID || '');
- QR.qr = qr = ui.dialog('qr', 'top: 0; right: 0;', "
");
+ QR.qr = qr = ui.dialog('qr', 'top: 0; right: 0;', " X
");
c = d.cookie;
$('[name=name]', qr).value = (m = c.match(/4chan_name=([^;]+)/)) ? decodeURIComponent(m[1]) : '';
$('[name=email]', qr).value = (m = c.match(/4chan_email=([^;]+)/)) ? decodeURIComponent(m[1]) : '';
@@ -3111,6 +3111,9 @@
#qr {\
position: fixed;\
}\
+ #qr .close, #qr #autohide {\
+ float: right;\
+ }\
#qr > .move {\
text-align: right;\
}\
@@ -3123,6 +3126,9 @@
#qr form {\
margin: 0;\
}\
+ #qr .autohide {\
+ clear: both;\
+ }\
#qr:not(:hover) #autohide:checked ~ .autohide {\
height: 0;\
overflow: hidden;\
diff --git a/script.coffee b/script.coffee
index bb77683cf..b548d5d85 100644
--- a/script.coffee
+++ b/script.coffee
@@ -1054,10 +1054,10 @@ QR =
dialog: (text='', tid) ->
tid or= g.THREAD_ID or ''
QR.qr = qr = ui.dialog 'qr', 'top: 0; right: 0;', "
+ X
+
@@ -2441,6 +2441,9 @@ Main =
#qr {
position: fixed;
}
+ #qr .close, #qr #autohide {
+ float: right;
+ }
#qr > .move {
text-align: right;
}
@@ -2453,6 +2456,9 @@ Main =
#qr form {
margin: 0;
}
+ #qr .autohide {
+ clear: both;
+ }
#qr:not(:hover) #autohide:checked ~ .autohide {
height: 0;
overflow: hidden;