Skip expand on column feed (#4475)

This commit is contained in:
the1812 2023-11-19 15:14:35 +08:00
parent 3b55128e71
commit 3e8f26e517
3 changed files with 10 additions and 6 deletions

View File

@ -1,4 +1,4 @@
.bili-dyn-content,
.dyn-card-opus__summary:first-child,
.card .main-content {
.bili-rich-text__action,
.expand-btn,

View File

@ -0,0 +1 @@
不管内容多长, 总是完全展开动态的内容. (专栏不算)

View File

@ -1,13 +1,16 @@
import { defineComponentMetadata } from '@/components/define'
import { toggleStyle } from '@/components/styled-component'
import { feedsUrlsWithoutDetail } from '@/core/utils/urls'
export const component = defineComponentMetadata({
...toggleStyle('fullFeedsContent', () => import('./full-content.scss')),
name: 'fullFeedsContent',
instantStyles: [
{
name: 'full-feeds-content',
style: () => import('./full-content.scss'),
},
],
displayName: '展开动态内容',
description: {
'zh-CN': '不管内容多长, 总是完全展开动态的内容.',
},
tags: [componentsTags.style, componentsTags.feeds],
urlInclude: feedsUrlsWithoutDetail,
entry: none,
})