mirror of
https://github.com/romancm/gamebrary
synced 2024-12-20 08:13:08 +00:00
fix notes game cover stretch
This commit is contained in:
parent
96bbb862b6
commit
c6cc1b4e48
1 changed files with 15 additions and 1 deletions
|
@ -25,7 +25,7 @@
|
||||||
<b-card
|
<b-card
|
||||||
v-for="(note, gameId) in notes"
|
v-for="(note, gameId) in notes"
|
||||||
:key="gameId"
|
:key="gameId"
|
||||||
class="mb-3 w-100"
|
class="mb-3 w-100 note"
|
||||||
:img-src="getCoverUrl(gameId)"
|
:img-src="getCoverUrl(gameId)"
|
||||||
:img-alt="games[gameId].name"
|
:img-alt="games[gameId].name"
|
||||||
img-left
|
img-left
|
||||||
|
@ -123,3 +123,17 @@ export default {
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" rel="stylesheet/scss" scoped>
|
||||||
|
.note {
|
||||||
|
img {
|
||||||
|
align-self: baseline;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<style lang="scss" rel="stylesheet/scss">
|
||||||
|
img {
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
Loading…
Reference in a new issue