So, it seems some bright spark decided to use JS and add "is-mobile" classes here and there and do all kinds of funky stuff based on this. Well, I think whoever that was should be dragged screaming out of your offices to a public square and flogged mercilessly!
Please, please, please revert this "feature" as it is really poor form. Leave mobile detection and handling to CSS Breakpoints
The problem caused by the "is-mobile" class is that I cache html at server level and if a mobile user is the first one to visit after a cache reset, then everyone afterwards gets a mobile page until the next cache reset and vice versa.
To undo the damage it is causing to me, I have had to override stuff to reset them back to the non "is-mobile" versions.
div#eb.is-mobile .eb-blog-grid .eb-blog-grid-showcase-cover__img {
height: 400px !important;
}
div#eb.is-mobile .eb-blog-grid-showcase-content {
background-color: rgba(0,0,0,0) !important;
position: absolute !important;
}
Worse still, I have had to change /joomla/administrator/components/com_easyblog/includes/scripts/scripts.php so as not to include the flag in window.ezb. One more thing I would have to remember when upgrading.
Thing is that this class is not needed and whatever is being done with this can, or should, be done using the CSS files.
Totally unnecessary and unwelcome.
Can someone please look into this and fix this?