fix(core): update

This commit is contained in:
Philipp Kunz 2020-05-27 22:41:08 +00:00
parent 284d2be0e3
commit acf0ea3874

View File

@ -15,7 +15,7 @@ export const getEnvironment = (): TViewport => {
}
};
export const cssForTablet = async (contentArg) => {
export const cssForTablet = (contentArg) => {
if (getEnvironment() === 'native' || getEnvironment() === 'desktop') {
return `
@media (max-width: ${tablet}px) {
@ -35,7 +35,7 @@ export const cssForTablet = async (contentArg) => {
}
};
export const cssForPhablet = async (contentArg) => {
export const cssForPhablet = (contentArg) => {
if (getEnvironment() === 'native' || getEnvironment() === 'desktop') {
return `
@media (max-width: ${phablet}px) {
@ -51,7 +51,7 @@ export const cssForPhablet = async (contentArg) => {
}
};
export const cssForPhone = async (contentArg) => {
export const cssForPhone = (contentArg) => {
if (getEnvironment() === 'native' || getEnvironment() === 'desktop') {
return `
@media (max-width: ${phone}px) {