Fix spoiler bug again

This commit is contained in:
Lim Chee Aun 2023-02-07 12:56:26 +08:00
parent f6897ef4d8
commit c6c18aae09

View file

@ -317,9 +317,9 @@ function Status({
</>
)}
<div
class={`content-container ${spoilerText ? 'has-spoiler' : ''} ${
showSpoiler ? 'show-spoiler' : ''
}`}
class={`content-container ${
spoilerText || sensitive ? 'has-spoiler' : ''
} ${showSpoiler ? 'show-spoiler' : ''}`}
style={
size === 'l' && {
'--content-text-weight':