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:
parent
d277d80323
commit
a96993fda9
|
@ -94,6 +94,11 @@ const Title = styled(Flex)`
|
|||
${breakpoint("tablet")`
|
||||
flex-grow: 1;
|
||||
`};
|
||||
|
||||
@media (display-mode: standalone) {
|
||||
overflow: hidden;
|
||||
flex-grow: 0 !important;
|
||||
}
|
||||
`;
|
||||
|
||||
const Actions = styled(Flex)`
|
||||
|
|
|
@ -31,7 +31,7 @@ export default createGlobalStyle`
|
|||
font-size: 16px;
|
||||
line-height: 1.5;
|
||||
color: ${(props) => props.theme.text};
|
||||
|
||||
overscroll-behavior-y: none;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
text-rendering: optimizeLegibility;
|
||||
|
|
|
@ -66,7 +66,8 @@ module.exports = {
|
|||
short_name: "Outline",
|
||||
background_color: "#fff",
|
||||
theme_color: "#fff",
|
||||
start_url: process.env.URL,
|
||||
start_url: "/",
|
||||
publicPath: "/static/",
|
||||
display: "standalone",
|
||||
icons: [
|
||||
{
|
||||
|
|
Reference in New Issue