Skip to content

Commit

Permalink
fix: a tag => button tag
Browse files Browse the repository at this point in the history
  • Loading branch information
yamanoku committed Dec 30, 2021
1 parent ecb66ef commit 074af64
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,14 @@ html {
}
.button--green {
-webkit-appearance: none;
appearance: none;
display: inline-block;
border-radius: 4px;
border: 1px solid #3b8070;
color: #3b8070;
text-decoration: none;
cursor: pointer;
background-color: transparent;
padding: 10px 30px;
@include mobile {
padding: 5px 15px;
Expand Down
4 changes: 2 additions & 2 deletions pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
<input type="text" placeholder="word" v-model="word" />
<ColorsViewer :value="colors" />
<div class="links">
<a @click="share" target="_blank" class="button--green">
<button type="button" @click="share" class="button--green">
シェア
</a>
</button>
<a href="https://twitter.com/takanakahiko" target="_blank" class="button--grey" >
つくったひと
</a>
Expand Down

0 comments on commit 074af64

Please sign in to comment.