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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user