From 844ed783aac105cda792191bc6ae3201cbace7bb Mon Sep 17 00:00:00 2001 From: zurdi Date: Mon, 10 Jun 2024 12:08:25 +0200 Subject: [PATCH] fixed notes UI --- .../Dialog/Rom/MatchRom/MatchRom.vue | 1 + frontend/src/components/Game/Card/Related.vue | 6 + .../src/components/Game/Details/Notes.vue | 127 +++++++++++------- .../components/Game/Details/RelatedGames.vue | 14 +- .../src/components/Game/Details/Saves.vue | 19 +-- .../src/components/Game/Details/States.vue | 7 +- .../src/components/Game/Details/Title.vue | 57 ++++++-- frontend/src/views/GameDetails.vue | 14 +- 8 files changed, 151 insertions(+), 94 deletions(-) diff --git a/frontend/src/components/Dialog/Rom/MatchRom/MatchRom.vue b/frontend/src/components/Dialog/Rom/MatchRom/MatchRom.vue index 09b7acb50..1e4dfe12c 100644 --- a/frontend/src/components/Dialog/Rom/MatchRom/MatchRom.vue +++ b/frontend/src/components/Dialog/Rom/MatchRom/MatchRom.vue @@ -292,6 +292,7 @@ onBeforeUnmount(() => { :rom="matchedRom" title-on-footer transform-scale + title-on-hover /> diff --git a/frontend/src/components/Game/Card/Related.vue b/frontend/src/components/Game/Card/Related.vue index 33f6449a3..89ce02a34 100644 --- a/frontend/src/components/Game/Card/Related.vue +++ b/frontend/src/components/Game/Card/Related.vue @@ -44,3 +44,9 @@ const theme = useTheme(); > + diff --git a/frontend/src/components/Game/Details/Notes.vue b/frontend/src/components/Game/Details/Notes.vue index a0a2d0fcc..a5fca4b0a 100644 --- a/frontend/src/components/Game/Details/Notes.vue +++ b/frontend/src/components/Game/Details/Notes.vue @@ -45,44 +45,53 @@ function onEditNote() { } @@ -139,4 +163,7 @@ function onEditNote() { .vuepress-theme pre code { background-color: #0d1117; } +.v-expansion-panel-text__wrapper { + padding: 0px !important; +} diff --git a/frontend/src/components/Game/Details/RelatedGames.vue b/frontend/src/components/Game/Details/RelatedGames.vue index c19c73827..296c6d816 100644 --- a/frontend/src/components/Game/Details/RelatedGames.vue +++ b/frontend/src/components/Game/Details/RelatedGames.vue @@ -12,20 +12,8 @@ const combined = ref([ - diff --git a/frontend/src/components/Game/Details/Saves.vue b/frontend/src/components/Game/Details/Saves.vue index f9568cbe2..e932763c2 100644 --- a/frontend/src/components/Game/Details/Saves.vue +++ b/frontend/src/components/Game/Details/Saves.vue @@ -69,16 +69,13 @@ async function uploadSaves() { }