Fix sensitive content z-order (when a sensitive status contains a sensitive quote)
This commit is contained in:
parent
5d5a29b9f0
commit
cecbc7c277
|
@ -103,7 +103,7 @@ const QuotedStatus: React.FC<IQuotedStatus> = ({ status, onCancel, compose }) =>
|
||||||
|
|
||||||
<StatusReplyMentions status={status} hoverable={false} />
|
<StatusReplyMentions status={status} hoverable={false} />
|
||||||
|
|
||||||
<Stack className={classNames('relative', {
|
<Stack className={classNames('relative z-0', {
|
||||||
'min-h-[220px]': status.hidden,
|
'min-h-[220px]': status.hidden,
|
||||||
})}
|
})}
|
||||||
>
|
>
|
||||||
|
|
|
@ -359,7 +359,7 @@ const Status: React.FC<IStatus> = (props) => {
|
||||||
|
|
||||||
<Stack
|
<Stack
|
||||||
className={
|
className={
|
||||||
classNames('relative', {
|
classNames('relative z-0', {
|
||||||
'min-h-[220px]': isUnderReview || isSensitive,
|
'min-h-[220px]': isUnderReview || isSensitive,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
@ -88,7 +88,7 @@ const DetailedStatus: React.FC<IDetailedStatus> = ({
|
||||||
|
|
||||||
<Stack
|
<Stack
|
||||||
className={
|
className={
|
||||||
classNames('relative', {
|
classNames('relative z-0', {
|
||||||
'min-h-[220px]': isUnderReview || isSensitive,
|
'min-h-[220px]': isUnderReview || isSensitive,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue