mirror of
https://github.com/mastodon/mastodon.git
synced 2025-09-06 18:01:05 +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 {
|
&.app-body {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
padding-left: env(safe-area-inset-left);
|
||||||
|
padding-right: env(safe-area-inset-right);
|
||||||
|
|
||||||
&.layout-single-column {
|
&.layout-single-column {
|
||||||
height: auto;
|
height: auto;
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
%html{ lang: I18n.locale }
|
%html{ lang: I18n.locale }
|
||||||
%head
|
%head
|
||||||
%meta{ charset: 'utf-8' }/
|
%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?
|
- if cdn_host?
|
||||||
%link{ rel: 'dns-prefetch', href: cdn_host }/
|
%link{ rel: 'dns-prefetch', href: cdn_host }/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user