diff options
author | pacien | 2022-10-26 01:27:32 +0200 |
---|---|---|
committer | GitHub | 2022-10-26 01:27:32 +0200 |
commit | d229943925505aa1204d24c83ddc814cba2d578b (patch) | |
tree | fe3ecd643eb676bb77b54e94a28bfcc8fb8acad7 /viewer/src/components/async/AsyncLdMarkdown.vue | |
parent | ffd5d78e9b3fc341e36467bd43bd6d22373de4ed (diff) | |
parent | 8335335bce93e88635edb5ab2215ee57ed365952 (diff) | |
download | ldgallery-d229943925505aa1204d24c83ddc814cba2d578b.tar.gz |
Merge pull request #335 from ldgallery/oz-fix-markdown-style
viewer: style of item description panel has changed
Diffstat (limited to 'viewer/src/components/async/AsyncLdMarkdown.vue')
-rw-r--r-- | viewer/src/components/async/AsyncLdMarkdown.vue | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/viewer/src/components/async/AsyncLdMarkdown.vue b/viewer/src/components/async/AsyncLdMarkdown.vue index 213c11c..c3f368a 100644 --- a/viewer/src/components/async/AsyncLdMarkdown.vue +++ b/viewer/src/components/async/AsyncLdMarkdown.vue | |||
@@ -40,7 +40,6 @@ const html = computed(() => marked(props.markdown)); | |||
40 | <style lang="scss" module> | 40 | <style lang="scss" module> |
41 | .markdown { | 41 | .markdown { |
42 | color: white; | 42 | color: white; |
43 | line-height: 1.7; | ||
44 | word-wrap: break-word; | 43 | word-wrap: break-word; |
45 | 44 | ||
46 | a { | 45 | a { |
@@ -52,19 +51,10 @@ const html = computed(() => marked(props.markdown)); | |||
52 | background-color: #666; | 51 | background-color: #666; |
53 | } | 52 | } |
54 | 53 | ||
55 | p, | ||
56 | blockquote, | ||
57 | ul, | ||
58 | ol, | ||
59 | dl, | ||
60 | table, | ||
61 | pre { | ||
62 | margin: 15px 0; | ||
63 | } | ||
64 | |||
65 | ul, | 54 | ul, |
66 | ol { | 55 | ol { |
67 | padding-left: 30px; | 56 | list-style-type: disc; |
57 | padding-left: 1em; | ||
68 | } | 58 | } |
69 | 59 | ||
70 | h1 { | 60 | h1 { |