Add more media query steps for small-screen devices.
This commit is contained in:
@@ -15,7 +15,18 @@ import DefaultLayout from '../../../layouts/DefaultLayout.astro';
|
||||
</DefaultLayout>
|
||||
|
||||
<style>
|
||||
:global(@media screen and (max-width: 768px)) {
|
||||
.collection-desc-item {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
:global(@media screen and (min-width: 768px)) {
|
||||
.collection-desc-item {
|
||||
width: 50%;
|
||||
float: left;
|
||||
}
|
||||
}
|
||||
.options {
|
||||
margin: 1em 0 0 0;
|
||||
margin: 0.5em 0 0 0;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user