1
0
mirror of https://gitlab.com/Anson-Projects/zine.git synced 2025-06-15 13:16:39 +00:00

fix viewing on smaller screens

This commit is contained in:
Anson Biggs 2024-03-02 12:41:50 -07:00
parent 29e793b1a4
commit ecd2843a43

View File

@ -18,10 +18,25 @@
.featured img {
width: auto;
height: auto;
max-width: 40%;
max-height: 30vh;
}
.featured hgroup {
flex-grow: 1;
padding-left: 20px;
}
/* Responsive adjustments */
@media (max-width: 768px) {
.featured header {
flex-direction: column;
align-items: center;
}
.featured hgroup {
padding-left: 0;
padding-top: 20px;
}
}