fix(core): update

This commit is contained in:
Philipp Kunz 2022-03-04 08:21:57 +01:00
parent b70077c43f
commit 0bb66e8221

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) {