mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-14 12:59:59 +00:00
fix: prevent horizontal body overflow on firefox
This commit is contained in:
parent
cf2d22cb5e
commit
5c5143d2c9
1 changed files with 3 additions and 0 deletions
|
@ -6,6 +6,9 @@ const isPreview = window.location.hostname.includes('deploy-preview')
|
||||||
export function usePageHeader() {
|
export function usePageHeader() {
|
||||||
useHead({
|
useHead({
|
||||||
titleTemplate: title => `${title ? `${title} | ` : ''}${APP_NAME}${isDev ? ' (dev)' : isPreview ? ' (preview)' : ''}`,
|
titleTemplate: title => `${title ? `${title} | ` : ''}${APP_NAME}${isDev ? ' (dev)' : isPreview ? ' (preview)' : ''}`,
|
||||||
|
bodyAttrs: {
|
||||||
|
class: 'overflow-x-hidden',
|
||||||
|
},
|
||||||
link: [
|
link: [
|
||||||
{ rel: 'icon', type: 'image/svg+png', href: isDev || isPreview ? '/favicon-dev.png' : '/favicon.png' },
|
{ rel: 'icon', type: 'image/svg+png', href: isDev || isPreview ? '/favicon-dev.png' : '/favicon.png' },
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue