File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -836,15 +836,46 @@ line-height: 1.4;
836836@media (max-width : 768px ) {
837837
838838 .field-note-card {
839- flex-direction : column;
839+ display : grid;
840+ grid-template-columns : 1fr ;
841+ gap : 0 ;
840842 }
841843
842- .field-note-thumbnail {
843- width : 100% ;
844+ /*
845+ * Allow the elements inside these two wrappers to be
846+ * reordered individually within the card.
847+ */
848+ .field-note-thumbnail ,
849+ .field-note-content {
850+ display : contents;
851+ }
852+
853+ .field-note-meta {
854+ order : 1 ;
855+ }
856+
857+ .field-note-card h2 {
858+ order : 2 ;
844859 }
845860
846861 .field-note-thumbnail img {
862+ order : 3 ;
863+ width : 100% ;
847864 height : auto;
865+ margin : 8px 0 0 ;
866+ }
867+
868+ .field-note-date {
869+ order : 4 ;
870+ margin-top : 6px ;
871+ margin-bottom : 28px ;
848872 }
849873
874+ .field-note-summary {
875+ order : 5 ;
876+ }
877+
878+ .field-note-link {
879+ order : 6 ;
880+ }
850881}
You can’t perform that action at this time.
0 commit comments