feat: Add PWA support to subdomains (#1915)
* fix: Remove overscroll * Remove title from fixed header in PWA as it's displayed immediately above in application title
This commit is contained in:
@ -94,6 +94,11 @@ const Title = styled(Flex)`
|
|||||||
${breakpoint("tablet")`
|
${breakpoint("tablet")`
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
`};
|
`};
|
||||||
|
|
||||||
|
@media (display-mode: standalone) {
|
||||||
|
overflow: hidden;
|
||||||
|
flex-grow: 0 !important;
|
||||||
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const Actions = styled(Flex)`
|
const Actions = styled(Flex)`
|
||||||
|
@ -31,7 +31,7 @@ export default createGlobalStyle`
|
|||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
color: ${(props) => props.theme.text};
|
color: ${(props) => props.theme.text};
|
||||||
|
overscroll-behavior-y: none;
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
text-rendering: optimizeLegibility;
|
text-rendering: optimizeLegibility;
|
||||||
|
@ -66,7 +66,8 @@ module.exports = {
|
|||||||
short_name: "Outline",
|
short_name: "Outline",
|
||||||
background_color: "#fff",
|
background_color: "#fff",
|
||||||
theme_color: "#fff",
|
theme_color: "#fff",
|
||||||
start_url: process.env.URL,
|
start_url: "/",
|
||||||
|
publicPath: "/static/",
|
||||||
display: "standalone",
|
display: "standalone",
|
||||||
icons: [
|
icons: [
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user