fix game modal header

This commit is contained in:
Gamebrary 2020-10-23 09:19:41 -07:00
parent 6cb09819f8
commit 72768b6a7f
2 changed files with 13 additions and 11 deletions

View file

@ -21,8 +21,7 @@
<modal-header
:title="game.name"
:subtitle="gameModalData.list.name"
@close="close"
/>
>
<b-button-group>
<b-button
size="sm"
@ -42,6 +41,7 @@
<icon name="triangle-right" />
</b-button>
</b-button-group>
</modal-header>
</template>
<b-container v-if="game.name" class="m-0 p-0">

View file

@ -5,16 +5,18 @@
<small>{{ subtitle }}</small>
</div>
<slot />
<div class="actions">
<slot />
<b-button
:variant="nightMode ? 'dark' : 'light'"
size="sm"
class="ml-auto"
@click="$emit('close')"
>
<icon name="x" />
</b-button>
<b-button
:variant="nightMode ? 'dark' : 'light'"
size="sm"
class="ml-auto"
@click="$emit('close')"
>
<icon name="x" />
</b-button>
</div>
</header>
</template>