mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Merge pull request #4093 from WakelessSloth56/preview-features
[新增组件]隐藏用户信息卡片
This commit is contained in:
commit
596627f8bd
17
registry/lib/components/style/hide/user-card/index.ts
Normal file
17
registry/lib/components/style/hide/user-card/index.ts
Normal file
@ -0,0 +1,17 @@
|
||||
import { defineComponentMetadata } from '@/components/define'
|
||||
import { toggleStyle } from '@/components/styled-component'
|
||||
|
||||
const name = 'hideUserCard'
|
||||
|
||||
export const component = defineComponentMetadata({
|
||||
displayName: '隐藏用户信息卡片',
|
||||
description: {
|
||||
'zh-CN': '隐藏鼠标指向用户名或用户头像时弹出的浮动用户信息卡片',
|
||||
},
|
||||
author: {
|
||||
name: 'WakelessSloth56',
|
||||
link: 'https://github.com/WakelessSloth56',
|
||||
},
|
||||
tags: [componentsTags.style],
|
||||
...toggleStyle(name, () => import('./user-card.scss')),
|
||||
})
|
||||
@ -0,0 +1,5 @@
|
||||
.user-card,
|
||||
.user-card-m-exp,
|
||||
.bili-user-profile {
|
||||
display: none !important;
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user