aboutsummaryrefslogtreecommitdiff
path: root/packages/client/src/components/RepositoryTreeBlob.vue
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2021-06-11 13:31:07 +0200
committerHampusM <hampus@hampusmat.com>2021-06-11 13:31:07 +0200
commit7e9433762f51be2c4938481c9c33589982118033 (patch)
tree9cfc36a1d59ac3c926bfcb2e222449da14cfec5d /packages/client/src/components/RepositoryTreeBlob.vue
parent55ab996795efdb125437d5728b50d03ac5d2612d (diff)
Goodbye, Bootstrap & added a button component
Diffstat (limited to 'packages/client/src/components/RepositoryTreeBlob.vue')
-rw-r--r--packages/client/src/components/RepositoryTreeBlob.vue9
1 files changed, 5 insertions, 4 deletions
diff --git a/packages/client/src/components/RepositoryTreeBlob.vue b/packages/client/src/components/RepositoryTreeBlob.vue
index 2a5a6dc..ac4ee32 100644
--- a/packages/client/src/components/RepositoryTreeBlob.vue
+++ b/packages/client/src/components/RepositoryTreeBlob.vue
@@ -10,7 +10,8 @@
</tbody>
</table>
<span
- v-else v-html="content_lines" />
+ v-else v-html="content_lines"
+ id="markdown-blob" />
</template>
<script>
@@ -81,9 +82,9 @@ export default {
<style lang="scss">
@use "../scss/colors";
+@use "../scss/fonts";
@import "~highlight.js/scss/srcery.scss";
-@import "../scss/fonts";
ul {
padding-left: 30px;
@@ -99,10 +100,10 @@ code {
white-space: pre-wrap;
word-wrap: anywhere;
background-color: lighten(#000000, 8%);
- font-family: $font-primary;
+ font-family: fonts.$primary;
}
-span {
+#markdown-blob {
word-wrap: anywhere;
a {
color: colors.$primary-light;