The VG Resource
[Spriters Resource] CSS media query for "Add new sheet" button is too restrictive - Printable Version

+- The VG Resource (https://www.vg-resource.com)
+-- Forum: Main Content (https://www.vg-resource.com/forum-103.html)
+--- Forum: Site Discussion (https://www.vg-resource.com/forum-106.html)
+--- Thread: [Spriters Resource] CSS media query for "Add new sheet" button is too restrictive (/thread-38406.html)



[Spriters Resource] CSS media query for "Add new sheet" button is too restrictive - eflags - 12-24-2020

The CSS for the "Add new Sheet" button next to the game icon on each page in the Spriters Resource website seems to make it disappear when the browser window size is <1000 px (e.g. https://imgur.com/a/199aeZR).

IMHO, this is overly too restrictive; even with a browser window size of 800 px (e.g. 1600x900 screen resolution and two browser windows side by side), the button can still fit with no hassle. Yes, there is the "Add new sheet" link above the game icon, but IMHO the button itself is more eye-catching and faster to spot.


RE: [Spriters Resource] CSS media query for "Add new sheet" button is too restrictive - Petie - 12-24-2020

You’ll notice it’s not just the add new sheet button that’s changing. The layout switches to the mobile theme at that point and it was chosen so a device like an iPad can still see the full layout in landscape but smaller devices switch to a more mobile-friendly view. You can always force the mobile layout off completely from the edit profile page on any of the sites if you’d prefer it not to switch over automatically.