mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-04-22 11:03:43 +03:00
Pledge List: Fix grid layout for small screens
This commit is contained in:
parent
ac1027b550
commit
5b5a1d50ff
|
@ -58,13 +58,20 @@ body.archive.post-type-archive-5ftf_pledge {
|
|||
|
||||
/* Structure */
|
||||
article {
|
||||
display: grid;
|
||||
grid-template-columns: 330px auto;
|
||||
margin-bottom: ms(12);
|
||||
|
||||
.entry-image {
|
||||
margin-bottom: ms(4);
|
||||
}
|
||||
|
||||
@include breakpoint( $breakpoint-small ) {
|
||||
display: grid;
|
||||
grid-template-columns: 200px auto;
|
||||
|
||||
.entry-image {
|
||||
grid-column: 1;
|
||||
grid-row: 1 / span 2;
|
||||
margin-bottom: 0;
|
||||
margin-right: ms(8);
|
||||
}
|
||||
|
||||
|
@ -79,6 +86,11 @@ body.archive.post-type-archive-5ftf_pledge {
|
|||
}
|
||||
}
|
||||
|
||||
@include breakpoint( $breakpoint-tablet ) {
|
||||
grid-template-columns: 330px auto;
|
||||
}
|
||||
}
|
||||
|
||||
.entry-title {
|
||||
font-size: ms(2);
|
||||
font-weight: 400;
|
||||
|
|
Loading…
Reference in a new issue