diff --git a/gulp/res/css/style.css b/gulp/res/css/style.css index a3d78c59..44420426 100644 --- a/gulp/res/css/style.css +++ b/gulp/res/css/style.css @@ -558,6 +558,9 @@ td pre { .ml-0 { margin-left: 0; } +.ml-a { + margin-left: auto; +} .dot { margin-right: 7px; @@ -1216,7 +1219,7 @@ input[type="file"] { .watched-thread { width: 100%; - justify-content: space-between; + /*justify-content: space-between;*/ padding: 3px; box-sizing: border-box; } diff --git a/gulp/res/js/watchedthread.js b/gulp/res/js/watchedthread.js index f068ed0c..5251d8e6 100644 --- a/gulp/res/js/watchedthread.js +++ b/gulp/res/js/watchedthread.js @@ -12,7 +12,7 @@ var pug_match_html=/["&<>]/;function watchedthread(locals) {var pug_html = "", p var block = (this && this.block), attributes = (this && this.attributes) || {}; pug_html = pug_html + "\u003Cdiv" + (" class=\"row watched-thread\""+pug_attr("data-id", `${thread.board}-${thread.postId}`, true, false)+pug_attr("data-unread", (thread.unread||null), true, false)) + "\u003E\u003Ca class=\"close\"\u003E×\u003C\u002Fa\u003E"; const watchedThreadLink = `/${thread.board}/thread/${thread.postId}.html`; -pug_html = pug_html + "\u003Ca" + (pug_attr("class", pug_classes([(thread.isCurrentThread ? 'bold' : '')], [true]), false, false)+pug_attr("href", watchedThreadLink, true, false)) + "\u003E\u002F" + (pug_escape(null == (pug_interp = thread.board) ? "" : pug_interp)) + "\u002F - " + (pug_escape(null == (pug_interp = thread.subject || 'No subject') ? "" : pug_interp)) + "\u003C\u002Fa\u003E\u003Ca" + (pug_attr("href", `${watchedThreadLink}#bottom`, true, false)) + "\u003E[▼]\u003C\u002Fa\u003E\u003C\u002Fdiv\u003E"; +pug_html = pug_html + "\u003Ca" + (pug_attr("class", pug_classes([(thread.isCurrentThread ? 'bold' : '')], [true]), false, false)+pug_attr("href", watchedThreadLink, true, false)) + "\u003E\u002F" + (pug_escape(null == (pug_interp = thread.board) ? "" : pug_interp)) + "\u002F - " + (pug_escape(null == (pug_interp = thread.subject || 'No subject') ? "" : pug_interp)) + "\u003C\u002Fa\u003E\u003Ca" + (" class=\"ml-a\""+pug_attr("href", `${watchedThreadLink}#bottom`, true, false)) + "\u003E[▼]\u003C\u002Fa\u003E\u003C\u002Fdiv\u003E"; }; pug_mixins["watchedthread"](watchedthread); }.call(this, "watchedthread" in locals_for_with ? diff --git a/views/mixins/watchedthread.pug b/views/mixins/watchedthread.pug index 4d14d211..c2edcdc0 100644 --- a/views/mixins/watchedthread.pug +++ b/views/mixins/watchedthread.pug @@ -3,4 +3,4 @@ mixin watchedthread(thread) a.close × - const watchedThreadLink = `/${thread.board}/thread/${thread.postId}.html`; a(class=(thread.isCurrentThread ? 'bold' : '') href=watchedThreadLink) /#{thread.board}/ - #{thread.subject || 'No subject'} - a(href=`${watchedThreadLink}#bottom`) [▼] + a.ml-a(href=`${watchedThreadLink}#bottom`) [▼]