[PLUGIN][AttachmentCollections] Responsive pages

This commit is contained in:
Phablulo Joel 2021-12-28 12:21:23 -03:00
parent 137723e59a
commit 25120c6630
1 changed files with 27 additions and 0 deletions

View File

@ -29,6 +29,33 @@
:root {
--collections-list-quantity: 3;
}
@media only screen and (min:1281px) {
:root {
--collections-list-quantity: 3;
}
}
@media only screen and (max-width:1280px) {
:root {
--collections-list-quantity: 4;
}
}
@media only screen and (max-width:900px) {
:root {
--collections-list-quantity: 3;
}
}
@media only screen and (max-width:700px) {
:root {
--collections-list-quantity: 2;
}
}
@media only screen and (max-width:465px) {
:root {
--collections-list-quantity: 1;
}
}
.attachment-collections-list {
display: grid !important;
grid-gap: 12px;