diff --git a/frontend/src/components/common/Navigation/CollectionsDrawer.vue b/frontend/src/components/common/Navigation/CollectionsDrawer.vue index ea2a3ac77..37cd25ca6 100644 --- a/frontend/src/components/common/Navigation/CollectionsDrawer.vue +++ b/frontend/src/components/common/Navigation/CollectionsDrawer.vue @@ -35,8 +35,8 @@ function clear() { width="500" v-model="activeCollectionsDrawer" :class="{ - 'mx-2': !(!smAndDown && !activeCollectionsDrawer), - 'my-2': !(smAndDown && !activeCollectionsDrawer), + 'mx-2': smAndDown || activeCollectionsDrawer, + 'my-2': !smAndDown || activeCollectionsDrawer, 'drawer-mobile': smAndDown, 'drawer-desktop': !smAndDown, }" diff --git a/frontend/src/components/common/Navigation/PlatformsDrawer.vue b/frontend/src/components/common/Navigation/PlatformsDrawer.vue index ece7a6a46..5195be10e 100644 --- a/frontend/src/components/common/Navigation/PlatformsDrawer.vue +++ b/frontend/src/components/common/Navigation/PlatformsDrawer.vue @@ -26,8 +26,8 @@ function clear() { width="500" v-model="activePlatformsDrawer" :class="{ - 'mx-2': !(!smAndDown && !activePlatformsDrawer), - 'my-2': !(smAndDown && !activePlatformsDrawer), + 'mx-2': smAndDown || activePlatformsDrawer, + 'my-2': !smAndDown || activePlatformsDrawer, 'drawer-mobile': smAndDown, 'drawer-desktop': !smAndDown, }" diff --git a/frontend/src/components/common/Navigation/SettingsDrawer.vue b/frontend/src/components/common/Navigation/SettingsDrawer.vue index 9ffaf3e53..9797810f7 100644 --- a/frontend/src/components/common/Navigation/SettingsDrawer.vue +++ b/frontend/src/components/common/Navigation/SettingsDrawer.vue @@ -47,8 +47,8 @@ async function logout() { width="450" v-model="activeSettingsDrawer" :class="{ - 'mx-2': !(!smAndDown && !activeSettingsDrawer), - 'my-2': !(smAndDown && !activeSettingsDrawer), + 'mx-2': smAndDown || activeSettingsDrawer, + 'my-2': !smAndDown || activeSettingsDrawer, 'drawer-mobile': smAndDown, 'drawer-desktop': !smAndDown, }" diff --git a/frontend/src/views/GameDetails.vue b/frontend/src/views/GameDetails.vue index bf9ee6c1d..e33a3f5f2 100644 --- a/frontend/src/views/GameDetails.vue +++ b/frontend/src/views/GameDetails.vue @@ -130,8 +130,6 @@ watch( > {{ t("rom.additional-content") }} - -