feat: ajout de classes CSS pour rendre la barre d'outils dans MangaDetails collante et amélioration de l'organisation des imports pour une meilleure lisibilité.
This commit is contained in:
parent
cfa2214db5
commit
72d7c233f7
@@ -7,7 +7,7 @@
|
||||
<!-- Composant invisible qui écoute les mises à jour Mercure -->
|
||||
<MercureListener :manga-id="mangaId" />
|
||||
|
||||
<Toolbar :config="toolbarConfig" />
|
||||
<Toolbar :config="toolbarConfig" class="sticky top-16 z-10" />
|
||||
|
||||
<div v-if="isRefreshingDetails" class="absolute top-2 right-2 text-gray-500">
|
||||
<ArrowPathIcon class="h-5 w-5 animate-spin" />
|
||||
@@ -34,18 +34,18 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { computed, onUnmounted, watch, onMounted } from 'vue';
|
||||
import { useRoute } from 'vue-router';
|
||||
import {
|
||||
ArrowPathIcon,
|
||||
PencilSquareIcon,
|
||||
DocumentArrowDownIcon,
|
||||
Cog6ToothIcon,
|
||||
BookmarkIcon,
|
||||
WrenchIcon,
|
||||
ChevronDoubleDownIcon,
|
||||
Cog6ToothIcon,
|
||||
DocumentArrowDownIcon,
|
||||
PencilSquareIcon,
|
||||
TrashIcon,
|
||||
ChevronDoubleDownIcon
|
||||
WrenchIcon
|
||||
} from '@heroicons/vue/24/outline';
|
||||
import { computed, onUnmounted, watch } from 'vue';
|
||||
import { useRoute } from 'vue-router';
|
||||
|
||||
import { useMangaDetails } from '../composables/useMangaDetails';
|
||||
import { useMangaVolumes } from '../composables/useMangaVolumes';
|
||||
@@ -54,8 +54,8 @@
|
||||
import MangaVolumeList from '../components/MangaVolumeList.vue';
|
||||
import MercureListener from '../components/MercureListener.vue';
|
||||
|
||||
import { useMangaStore } from '../../application/store/mangaStore';
|
||||
import Toolbar from '../../../../shared/components/ui/Toolbar.vue';
|
||||
import { useMangaStore } from '../../application/store/mangaStore';
|
||||
|
||||
const route = useRoute();
|
||||
const mangaStore = useMangaStore();
|
||||
|
||||
Reference in New Issue
Block a user