Add global css style to add clickable class

This commit is contained in:
2026-02-03 19:18:33 +01:00
parent 453beec605
commit 182f2e988a
6 changed files with 6 additions and 14 deletions

View File

@@ -110,7 +110,7 @@
</div>
<div class="column">
<h3 class="title">{{data.title}}</h3>
<h3 class="subtitle" @click="goToAuthor">{{data.author}}</h3>
<h3 class="subtitle clickable" @click="goToAuthor">{{data.author}}</h3>
<p>{{data.summary}}</p>
<div class="my-5" v-if="data.isbn">ISBN: {{data.isbn}}</div>
<div class="my-5" v-if="data.inventaireid">Inventaire ID: {{data.inventaireid}}</div>

View File

@@ -98,10 +98,6 @@ img {
width:auto;
}
.clickable {
cursor:pointer
}
.box {
transition:ease-in-out 0.04s;
margin-bottom: 15px;

View File

@@ -74,11 +74,6 @@ img {
width:auto;
}
.clickable {
cursor:pointer
}
.box {
transition:ease-in-out 0.04s;
margin-bottom: 15px;

View File

@@ -86,9 +86,5 @@
</template>
<style scoped>
.clickable {
cursor:pointer
}
</style>

View File

@@ -8,6 +8,8 @@ import { aliases, mdi } from 'vuetify/iconsets/mdi-svg'
import { VRating } from 'vuetify/components/VRating';
import App from './App.vue'
import './styles/global.css';
import fr from './locales/fr.json';
import en from './locales/en.json';

View File

@@ -0,0 +1,3 @@
.clickable {
cursor:pointer;
}