Merge branch 'stacked-media-fix' into 'develop'
Fix sensitive content z-order (when a sensitive status contains a sensitive quote) Closes #1176 See merge request soapbox-pub/soapbox!1890
This commit is contained in:
commit
ff117b4f6a
3 changed files with 3 additions and 3 deletions
|
@ -103,7 +103,7 @@ const QuotedStatus: React.FC<IQuotedStatus> = ({ status, onCancel, compose }) =>
|
|||
|
||||
<StatusReplyMentions status={status} hoverable={false} />
|
||||
|
||||
<Stack className={classNames('relative', {
|
||||
<Stack className={classNames('relative z-0', {
|
||||
'min-h-[220px]': status.hidden,
|
||||
})}
|
||||
>
|
||||
|
|
|
@ -359,7 +359,7 @@ const Status: React.FC<IStatus> = (props) => {
|
|||
|
||||
<Stack
|
||||
className={
|
||||
classNames('relative', {
|
||||
classNames('relative z-0', {
|
||||
'min-h-[220px]': isUnderReview || isSensitive,
|
||||
})
|
||||
}
|
||||
|
|
|
@ -88,7 +88,7 @@ const DetailedStatus: React.FC<IDetailedStatus> = ({
|
|||
|
||||
<Stack
|
||||
className={
|
||||
classNames('relative', {
|
||||
classNames('relative z-0', {
|
||||
'min-h-[220px]': isUnderReview || isSensitive,
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue