mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Skip expand on column feed (#4475)
This commit is contained in:
parent
3b55128e71
commit
3e8f26e517
@ -1,4 +1,4 @@
|
|||||||
.bili-dyn-content,
|
.dyn-card-opus__summary:first-child,
|
||||||
.card .main-content {
|
.card .main-content {
|
||||||
.bili-rich-text__action,
|
.bili-rich-text__action,
|
||||||
.expand-btn,
|
.expand-btn,
|
||||||
|
|||||||
1
registry/lib/components/feeds/full-content/index.md
Normal file
1
registry/lib/components/feeds/full-content/index.md
Normal file
@ -0,0 +1 @@
|
|||||||
|
不管内容多长, 总是完全展开动态的内容. (专栏不算)
|
||||||
@ -1,13 +1,16 @@
|
|||||||
import { defineComponentMetadata } from '@/components/define'
|
import { defineComponentMetadata } from '@/components/define'
|
||||||
import { toggleStyle } from '@/components/styled-component'
|
|
||||||
import { feedsUrlsWithoutDetail } from '@/core/utils/urls'
|
import { feedsUrlsWithoutDetail } from '@/core/utils/urls'
|
||||||
|
|
||||||
export const component = defineComponentMetadata({
|
export const component = defineComponentMetadata({
|
||||||
...toggleStyle('fullFeedsContent', () => import('./full-content.scss')),
|
name: 'fullFeedsContent',
|
||||||
|
instantStyles: [
|
||||||
|
{
|
||||||
|
name: 'full-feeds-content',
|
||||||
|
style: () => import('./full-content.scss'),
|
||||||
|
},
|
||||||
|
],
|
||||||
displayName: '展开动态内容',
|
displayName: '展开动态内容',
|
||||||
description: {
|
|
||||||
'zh-CN': '不管内容多长, 总是完全展开动态的内容.',
|
|
||||||
},
|
|
||||||
tags: [componentsTags.style, componentsTags.feeds],
|
tags: [componentsTags.style, componentsTags.feeds],
|
||||||
urlInclude: feedsUrlsWithoutDetail,
|
urlInclude: feedsUrlsWithoutDetail,
|
||||||
|
entry: none,
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user