fix(mobile): move refresh button to top-right icon, fix tiny text issue

- Add compact 36px circular icon button in user stats header (mobile only)
- Hide full-width bottom button on mobile (<=1000px)
- Fixes 1.1vw font-size being ~4px on mobile viewports
- Fixes button blocking attributes at bottom
- Desktop unchanged: keeps full-width button at bottom

Mobile: [Avatar] [Name] | LVL [5] [🔄]
Desktop: [🔄 Refresh RPG Info] at bottom
This commit is contained in:
Lucas 'Paperboy' Rose-Winters
2025-10-21 21:21:39 +11:00
parent 7cb4b1e1d8
commit 577010e2aa
4 changed files with 58 additions and 4 deletions
+2 -1
View File
@@ -297,7 +297,8 @@ async function initUI() {
toggleAnimations();
});
$('#rpg-manual-update').on('click', async function() {
// Bind to both desktop and mobile refresh buttons
$('#rpg-manual-update, #rpg-manual-update-mobile').on('click', async function() {
if (!extensionSettings.enabled) {
// console.log('[RPG Companion] Extension is disabled. Please enable it in the Extensions tab.');
return;