Merge pull request 'Use fixed color for blockquotes + other styling' (#9580) from Freeplay/calckey:quotes into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9580
This commit is contained in:
commit
6bd6c62e8d
|
@ -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 New Issue