Add "Export to ponyhead" button
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is passing

This commit is contained in:
Hamcha 2019-09-11 21:27:51 +02:00
parent 246e256a09
commit e415da87c3
Signed by: hamcha
GPG key ID: 41467804B19A3315

View file

@ -57,6 +57,11 @@
<section class="decklist"> <section class="decklist">
<header> <header>
<h1>{{ deckname }}</h1> <h1>{{ deckname }}</h1>
<nav class="buttons">
<b-button @click="exportToPonyhead" size="is-small deck-btn"
>Ponyhead</b-button
>
</nav>
</header> </header>
<DeckList :cards="decklist" @removed="cardRemoved" /> <DeckList :cards="decklist" @removed="cardRemoved" />
</section> </section>
@ -111,6 +116,7 @@
h1 { h1 {
font-size: 20pt; font-size: 20pt;
font-weight: 700; font-weight: 700;
margin-bottom: 5px;
} }
} }
} }
@ -167,6 +173,11 @@
width: 10px; width: 10px;
height: 10px; height: 10px;
} }
.deck-btn {
padding: 0 10px;
padding-bottom: 2px;
}
</style> </style>
<script lang="ts"> <script lang="ts">