modqueue: improve layout on mobile.
* Switch layout from float to flexbox. * Collapse to one column layout on mobile (thumbnails above post info). * Wordbreak overly long sources.
This commit is contained in:
@@ -133,6 +133,7 @@ table tfoot {
|
||||
|
||||
.column-expand { flex: 1; }
|
||||
.column-shrink { flex: 0; }
|
||||
@media (max-width: 660px) { display: block; }
|
||||
}
|
||||
|
||||
ul.list-bulleted {
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
div#c-moderator-post-queues {
|
||||
div.post {
|
||||
padding: 1em;
|
||||
margin-bottom: 4em;
|
||||
overflow: hidden;
|
||||
|
||||
@@ -13,16 +14,28 @@ div#c-moderator-post-queues {
|
||||
background: var(--modqueue-negative-score-background-color);
|
||||
}
|
||||
|
||||
aside {
|
||||
float: left;
|
||||
width: 220px;
|
||||
text-align: right;
|
||||
padding-right: 20px;
|
||||
aside.column {
|
||||
text-align: center;
|
||||
margin-bottom: 1em;
|
||||
|
||||
@media (min-width: 660px) {
|
||||
flex-basis: 220px;
|
||||
text-align: right;
|
||||
padding-right: 2em;
|
||||
}
|
||||
}
|
||||
|
||||
section {
|
||||
float: left;
|
||||
width: 800px;
|
||||
.quick-mod {
|
||||
margin-bottom: 0.5em;
|
||||
|
||||
@media (min-width: 660px) {
|
||||
font-size: $h2_size;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
||||
.mod-queue-post-source {
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
<% Danbooru.config.modqueue_quality_warning_tags.each do |tag| %>
|
||||
@@ -49,12 +62,4 @@ div#c-moderator-post-queues {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
div#moderation-guideline {
|
||||
width: 900px;
|
||||
|
||||
h1 {
|
||||
font-size: $h2_size;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user