RWD is not working when using the Social Images function.🐛Bug ReportsGeneralOct 17, 2024Posted by Support Team · Oct 17, 2024Status: Rejected2 comments76
Log in to comment and vote
Comments2
mannie@embedmyreviews.com
Oct 17, 2024
you mean it’s not responsive on mobile?
Yes aware of this already these features are to be used on desktop.
Long term will be made responsive but way too much work right now to even think about this nice to have.
Support Team
Oct 18, 2024
I want a workaround.
I am trying to inject JS, but it only applies to the dashboard.
(function() { function injectResponsiveCSS(path, cssRules) { if (window.location.pathname !== path) { console.log('Path does not match. CSS not injected.'); return; } const style = document.createElement('style'); let cssText = '@media screen and (max-width: 768px) {\n'; for (let selector in cssRules) { cssText += ` ${selector} { ${cssRules[selector]} }\n`; } cssText += '}'; style.textContent = cssText; document.head.appendChild(style); console.log('Responsive CSS injected for multiple elements'); } document.addEventListener('DOMContentLoaded', function() { injectResponsiveCSS( '/display-reviews/social-images/create', { '.h-screen .flex.flex-grow.h-full.overflow-hidden': ` flex-direction: column-reverse; overflow: auto; `, '.flex.flex-none.h-full.duration-200.border-r': ` width: 100%; ` } ); }); })(); </script>