mirror of
https://github.com/romancm/gamebrary
synced 2024-12-18 15:23:14 +00:00
make entire search result card clickable
This commit is contained in:
parent
a3196f8b77
commit
7d4cdff427
1 changed files with 6 additions and 8 deletions
|
@ -4,6 +4,7 @@
|
|||
class="game-card mb-1"
|
||||
:bg-variant="nightMode ? 'dark' : ''"
|
||||
:text-variant="nightMode ? 'white' : ''"
|
||||
@click="addGame"
|
||||
>
|
||||
<b-row no-gutters v-if="game && game.name">
|
||||
<b-col cols="3">
|
||||
|
@ -19,16 +20,9 @@
|
|||
{{ game.name }}
|
||||
</b-card-title>
|
||||
|
||||
<b-button
|
||||
@click="addGame"
|
||||
variant="primary"
|
||||
>
|
||||
{{ $t('board.list.addGame') }}
|
||||
</b-button>
|
||||
|
||||
<b-form-rating
|
||||
v-if="gameRating"
|
||||
class="p-0 border-0 shadow-none"
|
||||
:class="['p-0', { 'bg-dark': nightMode }]"
|
||||
inline
|
||||
:value="gameRating"
|
||||
readonly
|
||||
|
@ -100,5 +94,9 @@ export default {
|
|||
.toast-image {
|
||||
width: 80px !important;
|
||||
}
|
||||
|
||||
.game-card {
|
||||
cursor: pointer;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
|
Loading…
Reference in a new issue