Fix the "add reply" QR button on the bottom right.
That'll make it easier to add replies to dump in any situation.
This commit is contained in:
parent
56a007e9a7
commit
054777a754
File diff suppressed because one or more lines are too long
@ -604,8 +604,15 @@ a[href="javascript:;"] {
|
||||
vertical-align: bottom;
|
||||
}
|
||||
#addReply {
|
||||
font-size: 3.5em;
|
||||
line-height: 100px;
|
||||
display: inline-block;
|
||||
font-size: 30px;
|
||||
height: 30px;
|
||||
width: 30px;
|
||||
line-height: 1;
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
right: 0; bottom: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
#qr textarea {
|
||||
min-height: 160px;
|
||||
|
||||
@ -361,7 +361,7 @@ QR =
|
||||
$.on @nodes.spoiler, 'change', (e) =>
|
||||
@spoiler = e.target.checked
|
||||
QR.nodes.spoiler.checked = @spoiler if @ is QR.selected
|
||||
$.before QR.nodes.addReply, el
|
||||
$.add QR.nodes.dumpList, el
|
||||
|
||||
for event in ['dragStart', 'dragEnter', 'dragLeave', 'dragOver', 'dragEnd', 'drop']
|
||||
$.on el, event.toLowerCase(), @[event]
|
||||
@ -620,9 +620,8 @@ QR =
|
||||
<input data-name=sub title=Subject placeholder=Subject class=field size=1>
|
||||
</div>
|
||||
<div id=dump-list-container>
|
||||
<div id=dump-list>
|
||||
<a id=addReply href=javascript:; title="Add a reply">+</a>
|
||||
</div>
|
||||
<div id=dump-list></div>
|
||||
<a id=addReply href=javascript:; title="Add a reply">+</a>
|
||||
</div>
|
||||
<div class=textarea>
|
||||
<textarea data-name=com title=Comment placeholder=Comment class=field></textarea>
|
||||
@ -653,6 +652,7 @@ QR =
|
||||
email: $ '[data-name=email]', dialog
|
||||
sub: $ '[data-name=sub]', dialog
|
||||
com: $ '[data-name=com]', dialog
|
||||
dumpList: $ '#dump-list', dialog
|
||||
addReply: $ '#addReply', dialog
|
||||
charCount: $ '#char-count', dialog
|
||||
fileSubmit: $ '#file-n-submit', dialog
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user