Fix tags spacing

This commit is contained in:
Roman Cervantes 2019-04-04 16:09:29 -07:00
parent 5d66eef50d
commit 9a9130fad5
2 changed files with 9 additions and 4 deletions

View file

@ -17,7 +17,7 @@
@click.native="openDetails"
/>
<i class="fas fa-tag tags" @click="openTags" />
<i class="fas fa-tag tags" @click="openTags" v-if="!searchResult && hasTags" />
<div class="game-tags" v-if="!searchResult && hasTags && list.view !== 'covers'">
<div
@ -38,7 +38,7 @@
<button
v-if="searchResult"
class="add-game primary small tiny"
class="primary small tiny add-to-list"
@click="addGame"
>
<i class="fas fa-plus" />
@ -280,7 +280,6 @@ export default {
.game-info {
padding: $gp / 2 $gp;
width: 100%;
display: flex;
flex-direction: column;
.game-tags {
@ -349,4 +348,9 @@ export default {
margin-bottom: $gp / 3;
}
}
.add-to-list {
background: #cf0;
margin-top: $gp / 2;
}
</style>

View file

@ -68,7 +68,8 @@ button, a.link {
min-height: 20px;
font-size: 10px;
color: $color-white;
margin-right: $gp / 2;
margin-right: 2px;
margin-bottom: 2px;
}
&.primary {