mirror of
https://github.com/koloml/philomena-tagging-assistant.git
synced 2026-11-07 16:18:19 +00:00
More mobile-friendly dupe reports view
This commit is contained in:
1 parent
bdac2692ce
commit
d75a9b434d
1 file changed
+32
@@ -16,3 +16,35 @@
|
||||
@extend %with-margin;
|
||||
}
|
||||
}
|
||||
|
||||
// Trying to make it more usable on mobile by regrouping table cells into grid.
|
||||
@media screen and (max-width: 800px) {
|
||||
.dupe-report-list {
|
||||
& > thead {
|
||||
display: none;
|
||||
}
|
||||
|
||||
& > tbody > tr {
|
||||
display: grid;
|
||||
grid-template-areas: "source target" "diff actions";
|
||||
grid-template-columns: 1fr 1fr;
|
||||
|
||||
.dupe-report-list--image {
|
||||
grid-area: source;
|
||||
width: auto;
|
||||
|
||||
+ .dupe-report-list--image {
|
||||
grid-area: target;
|
||||
}
|
||||
}
|
||||
|
||||
.dr__diff {
|
||||
grid-area: diff;
|
||||
|
||||
& + td {
|
||||
grid-area: actions;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user