mirror of
https://github.com/romancm/gamebrary
synced 2024-12-24 01:53:07 +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
|
||||
v-for="(note, gameId) in notes"
|
||||
:key="gameId"
|
||||
class="mb-3 w-100"
|
||||
class="mb-3 w-100 note"
|
||||
:img-src="getCoverUrl(gameId)"
|
||||
:img-alt="games[gameId].name"
|
||||
img-left
|
||||
|
@ -123,3 +123,17 @@ export default {
|
|||
},
|
||||
};
|
||||
</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