fix(core): update

This commit is contained in:
Philipp Kunz 2022-03-02 18:00:35 +01:00
parent 10375576a7
commit d6ea74cb71

View File

@ -11,7 +11,7 @@ export type TViewport = 'native' | 'desktop' | 'tablet' | 'phablet' | 'phone';
export const cssForTablet = (cssArg: CSSResult) => {
return unsafeCSS(`
@container wcctoolsviewport (max-width: ${tablet}px) {
@container wccToolsViewport size(max-width: ${tablet}px) {
${cssArg.cssText}
}
@media (max-width: ${tablet}px) {
@ -22,7 +22,7 @@ export const cssForTablet = (cssArg: CSSResult) => {
export const cssForPhablet = (cssArg: CSSResult) => {
return unsafeCSS(`
@container wcctoolsviewport (max-width: ${phablet}px) {
@container wccToolsViewport size(max-width: ${phablet}px) {
${cssArg.cssText}
}
@media (max-width: ${phablet}px) {
@ -33,7 +33,7 @@ export const cssForPhablet = (cssArg: CSSResult) => {
export const cssForPhone = (cssArg: CSSResult) => {
return unsafeCSS(`
@container wcctoolsviewport (max-width: ${phone}px) {
@container wccToolsViewport size(max-width: ${phone}px) {
${cssArg.cssText}
}
@media (max-width: ${phone}px) {