[Glitch] Fix styling of notification browser permission denied banner
Port 12582d095e
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
pull/2813/head
parent
09929a42f7
commit
bf0129968e
|
@ -47,14 +47,18 @@ class ColumnSettings extends PureComponent {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className='column-settings'>
|
<div className='column-settings'>
|
||||||
{alertsEnabled && browserSupport && browserPermission === 'denied' && (
|
|
||||||
<span className='warning-hint'><FormattedMessage id='notifications.permission_denied' defaultMessage='Desktop notifications are unavailable due to previously denied browser permissions request' /></span>
|
|
||||||
)}
|
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<ClearColumnButton onClick={onClear} />
|
<ClearColumnButton onClick={onClear} />
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
{alertsEnabled && browserSupport && browserPermission === 'denied' && (
|
||||||
|
<section>
|
||||||
|
<span className='warning-hint'>
|
||||||
|
<FormattedMessage id='notifications.permission_denied' defaultMessage='Desktop notifications are unavailable due to previously denied browser permissions request' />
|
||||||
|
</span>
|
||||||
|
</section>
|
||||||
|
)}
|
||||||
|
|
||||||
{alertsEnabled && browserSupport && browserPermission === 'default' && (
|
{alertsEnabled && browserSupport && browserPermission === 'default' && (
|
||||||
<section>
|
<section>
|
||||||
<span className='warning-hint'>
|
<span className='warning-hint'>
|
||||||
|
|
Loading…
Reference in New Issue