pluralise report text, small css prefix tweaks

merge-requests/208/head
Thomas Lynch 4 years ago
parent 1713291ec7
commit 211a3c860d
  1. 10
      gulp/res/css/style.css
  2. 2
      models/forms/reportpost.js

@ -208,8 +208,8 @@ pre {
.pages, #livetext, #threadstats { .pages, #livetext, #threadstats {
box-sizing: border-box; box-sizing: border-box;
padding: 10px; padding: 10px;
width: max-content;
width: -moz-max-content; width: -moz-max-content;
width: max-content;
max-width: 100%; max-width: 100%;
margin-bottom: 5px; margin-bottom: 5px;
} }
@ -661,8 +661,8 @@ span.captchacheckbox {
box-sizing: border-box; box-sizing: border-box;
display: flex; display: flex;
flex-flow: column wrap; flex-flow: column wrap;
width: max-content;
width: -moz-max-content; width: -moz-max-content;
width: max-content;
} }
.toggle, .togglable { .toggle, .togglable {
@ -945,10 +945,10 @@ input:invalid, textarea:invalid {
} }
.noselect { .noselect {
user-select: none;
-webkit-user-select: none; -webkit-user-select: none;
-moz-user-select: none; -moz-user-select: none;
-ms-user-select: none; -ms-user-select: none;
user-select: none;
} }
.post-info { .post-info {
@ -1030,6 +1030,8 @@ input[type=number]::-webkit-inner-spin-button {
input[type=number] { input[type=number] {
-moz-appearance:textfield; -moz-appearance:textfield;
-webkit-appearance: textfield;
appearance:textfield;
} }
input[type="submit"] { input[type="submit"] {
@ -1274,8 +1276,8 @@ row.wrap.sb .col {
top:-1.75em; top:-1.75em;
left:50%; left:50%;
transform:translateX(-50%); transform:translateX(-50%);
width:max-content;
width:-moz-max-content; width:-moz-max-content;
width:max-content;
padding:1px 2px; padding:1px 2px;
} }
[title]:hover:after { [title]:hover:after {

@ -15,7 +15,7 @@ module.exports = (req, res) => {
} }
const ret = { const ret = {
message: `Reported ${res.locals.posts.length} post(s)`, message: `Reported ${res.locals.posts.length} post${res.locals.posts.length > 1 ? 's' : ''}`,
action: '$push', action: '$push',
query: {} query: {}
}; };

Loading…
Cancel
Save