Skip to content

Commit 7bf186d

Browse files
authored
Merge pull request #79 from ninest/fix-hacks-button
Increase tap area for hacks button
2 parents c615f20 + 8a535b1 commit 7bf186d

File tree

1 file changed

+10
-16
lines changed

1 file changed

+10
-16
lines changed

src/components/hacks-button.vue

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
<template>
2-
<div class="hacks-button">
3-
<a class="hacks-button__row" :href="link" target="_blank">
4-
<slot />
5-
</a>
6-
</div>
2+
<a class="hacks-button" :href="link" target="_blank">
3+
<slot />
4+
</a>
75
</template>
86

97
<script>
@@ -34,20 +32,16 @@ export default {
3432
padding: 15px;
3533
transition: background-color 1s;
3634
37-
&__row {
38-
display: flex;
39-
flex-flow: row wrap;
40-
justify-content: space-around;
35+
display: flex;
36+
flex-flow: row wrap;
37+
justify-content: space-around;
4138
42-
> * {
43-
margin: 0 5px;
44-
}
39+
> * {
40+
margin: 0 5px;
4541
}
4642
47-
a {
48-
text-decoration: none;
49-
color: black;
50-
}
43+
text-decoration: none;
44+
color: black;
5145
5246
&:hover,
5347
&:focus {

0 commit comments

Comments
 (0)