This commit is contained in:
Mirco Wittrien 2021-02-13 22:19:19 +01:00
parent b50dd4c910
commit 1b241387ca
2 changed files with 5 additions and 3 deletions

View File

@ -1602,12 +1602,12 @@ module.exports = (_ => {
]
}),
isMuted && muteConfig && (muteConfig.end_time == null ? BDFDB.ReactUtils.createElement(InternalComponents.LibraryComponents.TextElement, {
className: BDFDB.DOMUtils.formatClassName(BDFDB.disCN.tooltipmutetext && (connectedUsers.length || streamOwners.length) && BDFDB.disCN.tooltipmutetextwithactivity),
className: BDFDB.DOMUtils.formatClassName(BDFDB.disCN.tooltipmutetext, (connectedUsers.length || streamOwners.length) && BDFDB.disCN.tooltipmutetextwithactivity),
size: InternalComponents.LibraryComponents.TextElement.Sizes.SIZE_12,
color: InternalComponents.LibraryComponents.TextElement.Colors.MUTED,
children: BDFDB.LanguageUtils.LanguageStrings.VOICE_CHANNEL_MUTED
}) : BDFDB.ReactUtils.createElement(InternalComponents.LibraryComponents.GuildComponents.MutedText, {
className: BDFDB.DOMUtils.formatClassName(BDFDB.disCN.tooltipmutetext && (connectedUsers.length || streamOwners.length) && BDFDB.disCN.tooltipmutetextwithactivity),
className: BDFDB.DOMUtils.formatClassName(BDFDB.disCN.tooltipmutetext, (connectedUsers.length || streamOwners.length) && BDFDB.disCN.tooltipmutetextwithactivity),
muteConfig: muteConfig
}))
].filter(n => n)

View File

@ -947,10 +947,12 @@ img:not([src]), img[src=""], img[src="null"] {
[REPLACE_CLASS_tooltipcustom] [REPLACE_CLASS_tooltipmutetext] {
opacity: .7;
}
[REPLACE_CLASS_tooltiprowextra]:empty {
display: none;
}
[REPLACE_CLASS_tooltiprowextra]:not(:empty) [REPLACE_CLASS_tooltipmutetext] {
margin-top: 8px;
}
[REPLACE_CLASS_colorpickerswatchsinglewrapper] {
position: relative;