Fix SitePreview z-index
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
2c3095f52c
commit
41d8d3e2da
1 changed files with 2 additions and 2 deletions
|
@ -39,11 +39,11 @@ const SitePreview: React.FC<ISitePreview> = ({ soapbox }) => {
|
|||
<style>{`.site-preview {${generateThemeCss(soapboxConfig)}}`}</style>
|
||||
<BackgroundShapes position='absolute' />
|
||||
|
||||
<div className='absolute z-20 self-center overflow-hidden rounded-lg bg-accent-500 p-2 text-white'>
|
||||
<div className='absolute z-[2] self-center overflow-hidden rounded-lg bg-accent-500 p-2 text-white'>
|
||||
<FormattedMessage id='site_preview.preview' defaultMessage='Preview' />
|
||||
</div>
|
||||
|
||||
<div className={clsx('absolute inset-0 z-10 flex h-12 shadow lg:h-16', {
|
||||
<div className={clsx('absolute inset-0 z-[1] flex h-12 shadow lg:h-16', {
|
||||
'bg-white': !dark,
|
||||
'bg-gray-800': dark,
|
||||
})}
|
||||
|
|
Loading…
Reference in a new issue