mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-16 23:31:19 +03:00
Fix some posts can be spoiler but sensitive: false
This commit is contained in:
parent
a130743d4c
commit
de411b4dff
1 changed files with 4 additions and 4 deletions
|
@ -316,9 +316,9 @@ function Status({
|
|||
</>
|
||||
)}
|
||||
<div
|
||||
class={`content-container ${
|
||||
sensitive || spoilerText ? 'has-spoiler' : ''
|
||||
} ${showSpoiler ? 'show-spoiler' : ''}`}
|
||||
class={`content-container ${spoilerText ? 'has-spoiler' : ''} ${
|
||||
showSpoiler ? 'show-spoiler' : ''
|
||||
}`}
|
||||
style={
|
||||
size === 'l' && {
|
||||
'--content-text-weight':
|
||||
|
@ -328,7 +328,7 @@ function Status({
|
|||
}
|
||||
}
|
||||
>
|
||||
{!!spoilerText && sensitive && (
|
||||
{!!spoilerText && (
|
||||
<>
|
||||
<div
|
||||
class="content"
|
||||
|
|
Loading…
Add table
Reference in a new issue