So I’ve slapped my tiny “make-avatar-bigger” script into the JS tab (out of Desktop - <head>
), and that works simply enough, but is there at least a quick ‘n dirty way to keep it only applying in Desktop? My mobile avatars are also now large and it all looks rather silly.
The code for ref is:
import { apiInitializer } from "discourse/lib/api";
export default apiInitializer((api) => {
api.changeWidgetSetting('post-avatar', 'size', '70');
});