Skip to content

Commit

Permalink
remove useless style
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaojianli committed Dec 12, 2024
1 parent 7ecfa3b commit 3f69dab
Showing 1 changed file with 3 additions and 18 deletions.
21 changes: 3 additions & 18 deletions webui/src/components/markdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
<div v-else v-html="md.render(content)"></div>
</template>
<script lang="ts" setup>
import { useDarkStore } from '@/stores/dark'
import md from '@/utils/markdown'
import { computed } from 'vue'
import { useDarkStore } from '@/stores/dark';
import md from '@/utils/markdown';
import { computed } from 'vue';
const darkStore = useDarkStore()
const srcDoc = computed(() => {
Expand All @@ -26,18 +26,3 @@ const { content, useGithubMarkdown = false } = defineProps<{
useGithubMarkdown?: boolean
}>()
</script>
<style>
.markdown-body {
box-sizing: border-box;
min-width: 200px;
max-width: 980px;
margin: 0 auto;
padding: 20px;
}
@media (max-width: 767px) {
.markdown-body {
padding: 15px;
}
}
</style>

0 comments on commit 3f69dab

Please sign in to comment.