use fixed color fox blockquotes + other styling
This commit is contained in:
parent
f2dc07522b
commit
ad27cb20ec
2 changed files with 6 additions and 10 deletions
|
@ -169,13 +169,12 @@ const props = withDefaults(defineProps<{
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
::v-deep(.quote) {
|
::v-deep(blockquote) {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 8px;
|
margin: 8px 0;
|
||||||
padding: 6px 0 6px 12px;
|
padding-left: 12px;
|
||||||
color: var(--fg);
|
color: var(--fgTransparentWeak);
|
||||||
border-left: solid 3px var(--fg);
|
border-left: solid 4px var(--fgTransparent);
|
||||||
opacity: 0.7;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
::v-deep(pre) {
|
::v-deep(pre) {
|
||||||
|
|
|
@ -379,10 +379,7 @@ export default defineComponent({
|
||||||
if (!this.nowrap) {
|
if (!this.nowrap) {
|
||||||
return [
|
return [
|
||||||
h(
|
h(
|
||||||
"div",
|
"blockquote",
|
||||||
{
|
|
||||||
class: "quote",
|
|
||||||
},
|
|
||||||
genEl(token.children),
|
genEl(token.children),
|
||||||
),
|
),
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue