Commit e815c68d authored by Phil Hughes's avatar Phil Hughes

👀 changed link into button

parent 5c483fd8
...@@ -52,10 +52,10 @@ export default { ...@@ -52,10 +52,10 @@ export default {
v-html="message.text" v-html="message.text"
> >
</span> </span>
<a <button
v-if="message.action" v-if="message.action"
href="#" type="button"
class="flash-action text-white" class="flash-action text-white p-0 border-top-0 border-right-0 border-left-0 bg-transparent"
@click.stop.prevent="clickAction" @click.stop.prevent="clickAction"
> >
{{ message.actionText }} {{ message.actionText }}
...@@ -63,7 +63,7 @@ export default { ...@@ -63,7 +63,7 @@ export default {
v-show="isLoading" v-show="isLoading"
inline inline
/> />
</a> </button>
</div> </div>
</div> </div>
</template> </template>
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
display: inline-block; display: inline-block;
} }
a.flash-action { .flash-action {
margin-left: 5px; margin-left: 5px;
text-decoration: none; text-decoration: none;
font-weight: $gl-font-weight-normal; font-weight: $gl-font-weight-normal;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment