fix(core): update
This commit is contained in:
		| @@ -15,7 +15,7 @@ export const getEnvironment = (): TViewport => { | |||||||
|   } |   } | ||||||
| }; | }; | ||||||
|  |  | ||||||
| export const cssForTablet = async (contentArg) => { | export const cssForTablet = (contentArg) => { | ||||||
|   if (getEnvironment() === 'native' || getEnvironment() === 'desktop') { |   if (getEnvironment() === 'native' || getEnvironment() === 'desktop') { | ||||||
|     return ` |     return ` | ||||||
|       @media (max-width: ${tablet}px) { |       @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') { |   if (getEnvironment() === 'native' || getEnvironment() === 'desktop') { | ||||||
|     return ` |     return ` | ||||||
|       @media (max-width: ${phablet}px) { |       @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') { |   if (getEnvironment() === 'native' || getEnvironment() === 'desktop') { | ||||||
|     return ` |     return ` | ||||||
|       @media (max-width: ${phone}px) { |       @media (max-width: ${phone}px) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user