visual change, justify-content space between looked dumb with varying widths when there was an unread counter

jschan
Thomas Lynch 3 years ago
parent 3afff61bea
commit dd830fc193
No known key found for this signature in database
GPG Key ID: 36A72F7C62CF8480
  1. 5
      gulp/res/css/style.css
  2. 2
      gulp/res/js/watchedthread.js
  3. 2
      views/mixins/watchedthread.pug

@ -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;
}

@ -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 ?

@ -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`) [▼]

Loading…
Cancel
Save