feat(ui): transparent status bar
parent
b64d1add86
commit
4da2fd05bb
|
@ -8,10 +8,11 @@ defineProps<{
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div relative>
|
<div>
|
||||||
<div
|
<div
|
||||||
sticky top-0 z10
|
sticky top-0 z10 backdrop-blur
|
||||||
border="b base" bg="[rgba(var(--c-bg-base-rgb),0.7)]" backdrop-blur
|
pt="[env(safe-area-inset-top,0)]"
|
||||||
|
border="b base" bg="[rgba(var(--c-bg-base-rgb),0.7)]"
|
||||||
>
|
>
|
||||||
<div flex justify-between px5 py4>
|
<div flex justify-between px5 py4>
|
||||||
<div flex gap-3 items-center overflow-hidden>
|
<div flex gap-3 items-center overflow-hidden>
|
||||||
|
|
|
@ -44,5 +44,8 @@ export function setupPageHeader() {
|
||||||
},
|
},
|
||||||
titleTemplate: title => `${title ? `${title} | ` : ''}${APP_NAME}${isDev ? ' (dev)' : isPreview ? ' (preview)' : ''}`,
|
titleTemplate: title => `${title ? `${title} | ` : ''}${APP_NAME}${isDev ? ' (dev)' : isPreview ? ' (preview)' : ''}`,
|
||||||
link,
|
link,
|
||||||
|
meta: [
|
||||||
|
{ name: 'apple-mobile-web-app-status-bar-style', content: 'black-translucent' },
|
||||||
|
],
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue