You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be better if the "Press contact" box appeared lower on the mobile phone (bottom of post).
There are two "typical" methods to do this:
Add some kind of push/pull source ordering support to make left column show on the bottom on the mobile (this would also move the author info to the bottom)
Add the "press contact" a second time in the HTML, appearing at the bottom. Use CSS to show/hide accordingly, i.e.vf-u-grid--hide-for-small
Or, dodge it for now, and move the "Press contact" to the right
This will probably bubble up into some things for vf-core, but starting the journey here.
The text was updated successfully, but these errors were encountered:
drop the custom class article-left-col to the bottom using:
As there's 'no grid' on mobile we can use display: flex; up to the viewport size the grid kicks in.
@media (max-width: 1023px) {
.embl-grid {
display: flex;
flex-direction: column;
}
.article-left-col {
order: 2;
}
}
*notes:* doing this will effect all `embl-grid`s at these viewports - can we create something like `embl__news-article` on the body to hook into?
Noticed this while reading a news post on my phone: https://www.embl.org/news/science/new-insights-into-epigenetic-modifications/
It would be better if the "Press contact" box appeared lower on the mobile phone (bottom of post).
There are two "typical" methods to do this:
vf-u-grid--hide-for-small
This will probably bubble up into some things for vf-core, but starting the journey here.
The text was updated successfully, but these errors were encountered: