Fix slideout thread watcher alignment
This commit is contained in:
parent
960f8022a4
commit
50cd57d92e
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -75,7 +75,7 @@ div.navLinks > a:first-of-type::after {
|
||||
}
|
||||
#boardNavDesktopFoot,
|
||||
#globalMessage,
|
||||
#watcher {
|
||||
.slideout-watcher #watcher.dialog {
|
||||
<%= sizing %>: border-box;
|
||||
width: 230px !important;
|
||||
#{align}: 18px !important;
|
||||
|
||||
@ -782,12 +782,12 @@ th {
|
||||
width: 299px;
|
||||
}
|
||||
.slideout-watcher.sidebar-location-right #watcher {
|
||||
left: auto;
|
||||
right: 2px;
|
||||
left: auto !important;
|
||||
right: 2px !important;
|
||||
}
|
||||
.slideout-watcher.sidebar-location-left #watcher {
|
||||
right: auto;
|
||||
left: 2px;
|
||||
right: auto !important;
|
||||
left: 2px !important;
|
||||
}
|
||||
.slideout-watcher #watcher .move {
|
||||
cursor: default;
|
||||
|
||||
@ -3,11 +3,10 @@ ThreadWatcher =
|
||||
return unless Conf['Thread Watcher']
|
||||
|
||||
@dialog = UI.dialog 'watcher', 'top: 50px; left: 0px;',
|
||||
'<div class=move>Thread Watcher<a class=close href=javascript:;>✖</a></div>'
|
||||
'<div class=move>Thread Watcher</div>'
|
||||
|
||||
$.on d, 'QRPostSuccessful', @cb.post
|
||||
$.sync 'WatchedThreads', @refresh
|
||||
$.on $('.move>.close', ThreadWatcher.dialog), 'click', @toggleWatcher
|
||||
|
||||
|
||||
$.ready ->
|
||||
@ -62,10 +61,6 @@ ThreadWatcher =
|
||||
$.rmClass favicon, 'watched'
|
||||
return
|
||||
|
||||
toggleWatcher: ->
|
||||
$.toggleClass ThreadWatcher.shortcut, 'disabled'
|
||||
ThreadWatcher.dialog.hidden = !ThreadWatcher.dialog.hidden
|
||||
|
||||
cb:
|
||||
toggle: ->
|
||||
ThreadWatcher.toggle Get.postFromNode(@).thread
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user