Skip to content

Commit e86e494

Browse files
phareimclaude
andcommitted
Make Safari bars match theme background on iPhone
- Add viewport-fit=cover so theme-color extends into safe areas - Add apple-mobile-web-app-capable and black-translucent status bar style - The theme-color meta tag in app.vue already reactively updates per theme Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 75d96c1 commit e86e494

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

nuxt.config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ export default defineNuxtConfig({
1010
app: {
1111
head: {
1212
meta: [
13-
{ name: 'viewport', content: 'width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' }
13+
{ name: 'viewport', content: 'width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover' },
14+
{ name: 'apple-mobile-web-app-capable', content: 'yes' },
15+
{ name: 'apple-mobile-web-app-status-bar-style', content: 'black-translucent' }
1416
],
1517
link: [
1618
{ rel: 'preconnect', href: 'https://fonts.googleapis.com' },

0 commit comments

Comments
 (0)