Hotfix: proper darkmode gray, and image inclusion fix (#19427)
This commit is contained in:
parent
cb2c200404
commit
0e46079321
2 changed files with 3 additions and 2 deletions
|
|
@ -65,8 +65,8 @@
|
|||
--card-color-tertiary: rgb(var(--grey-400));
|
||||
--card-secondary-bg: rgb(var(--grey-900));
|
||||
--card-secondary-color: rgb(var(--grey-200));
|
||||
--card-tertiary-bg: rgb(var(--grey-100));
|
||||
--card-tertiary-bg-hover: rgba(var(--grey-200), 0.55);
|
||||
--card-tertiary-bg: rgb(var(--grey-800));
|
||||
--card-tertiary-bg-hover: rgba(var(--grey-800), 0.9);
|
||||
--card-border: rgba(var(--white), 0.15);
|
||||
--card-secondary-border: rgba(var(--white), 0.1);
|
||||
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ function contentAwareComments(comment) {
|
|||
node.tagName === 'P' &&
|
||||
nodesSelected < 2 &&
|
||||
node.outerHTML.length > 250
|
||||
&& !node.outerHTML.includes('article-body-image-wrapper')
|
||||
) {
|
||||
text = `${text} ${node.outerHTML.substring(0, 230)} ...`;
|
||||
nodesSelected = 2;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue