[PLUGIN][AttachmentCollections] Responsive pages
This commit is contained in:
parent
137723e59a
commit
25120c6630
@ -29,6 +29,33 @@
|
|||||||
:root {
|
:root {
|
||||||
--collections-list-quantity: 3;
|
--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 {
|
.attachment-collections-list {
|
||||||
display: grid !important;
|
display: grid !important;
|
||||||
grid-gap: 12px;
|
grid-gap: 12px;
|
||||||
|
Loading…
Reference in New Issue
Block a user