mirror of
https://github.com/mastodon/mastodon.git
synced 2025-09-05 17:31:12 +00:00
Change viewport behaviour to cover (#34986)
Co-authored-by: diondiondion <mail@diondiondion.com>
This commit is contained in:
parent
24d943fee0
commit
ccf7760205
|
@ -48,6 +48,8 @@ body {
|
|||
|
||||
&.app-body {
|
||||
padding: 0;
|
||||
padding-left: env(safe-area-inset-left);
|
||||
padding-right: env(safe-area-inset-right);
|
||||
|
||||
&.layout-single-column {
|
||||
height: auto;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
%html{ lang: I18n.locale }
|
||||
%head
|
||||
%meta{ charset: 'utf-8' }/
|
||||
%meta{ name: 'viewport', content: 'width=device-width, initial-scale=1' }/
|
||||
%meta{ name: 'viewport', content: 'width=device-width, initial-scale=1, viewport-fit=cover' }/
|
||||
|
||||
- if cdn_host?
|
||||
%link{ rel: 'dns-prefetch', href: cdn_host }/
|
||||
|
|
Loading…
Reference in New Issue
Block a user