mirror of
https://github.com/HangarMC/Hangar.git
synced 2024-11-27 06:01:08 +08:00
made markdown css global
This commit is contained in:
parent
dde5d2da43
commit
f3802c7793
@ -1,5 +1,4 @@
|
||||
@import "~vuetify/src/styles/styles";
|
||||
@import "utils";
|
||||
|
||||
.page-rendered {
|
||||
//padding: 10px 20px 20px 20px;
|
@ -1,5 +1,6 @@
|
||||
@import '~vuetify/src/styles/styles.sass';
|
||||
@import 'utils';
|
||||
@import "markdown";
|
||||
|
||||
.text-transform-unset {
|
||||
text-transform: unset;
|
||||
|
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="markdown">
|
||||
<div>
|
||||
<v-sheet :color="color" class="darken-1" rounded elevation="2">
|
||||
<!-- eslint-disable-next-line vue/no-v-html -->
|
||||
<div v-if="!$fetchState.pending" class="page-rendered" :class="innerClass" v-html="renderedMarkdown" />
|
||||
@ -43,11 +43,3 @@ export default class Markdown extends Vue {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
@import 'assets/markdown';
|
||||
|
||||
.markdown {
|
||||
min-height: 200px;
|
||||
}
|
||||
</style>
|
||||
|
Loading…
Reference in New Issue
Block a user