UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 615d9269 authored by Graham Smith's avatar Graham Smith
Browse files

add external link component

parent 7790f954
No related branches found
No related tags found
No related merge requests found
......@@ -48,10 +48,6 @@ body {
a {
text-decoration: none;
.bi-box-arrow-up-right.b-icon {
top: -2px;
position: relative;
}
}
button.btn {
......
<template>
<b-button variant="link" :href="href" :class="{ inline }" target="_blank">
<slot></slot>
<b-icon icon="box-arrow-up-right" aria-hidden="true"></b-icon>
</b-button>
</template>
<script>
export default {
props: {
href: String,
inline: Boolean
}
};
</script>
<style lang="scss" scoped>
a {
.bi-box-arrow-up-right.b-icon {
top: -2px;
position: relative;
}
&.inline {
padding: 0;
margin-top: -3px;
}
}
</style>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment