Skip to content

Commit

Permalink
Merge pull request #32 from yamanoku/fix-button-interaction
Browse files Browse the repository at this point in the history
fix: a tag => button tag
  • Loading branch information
takanakahiko authored Dec 30, 2021
2 parents ecb66ef + 074af64 commit a4c4c38
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 a4c4c38

Please sign in to comment.