fix: resuelve el type-checking estricto de plantillas y formatea con prettier
This commit is contained in:
@@ -9,9 +9,11 @@
|
||||
}
|
||||
|
||||
button {
|
||||
&:not(.pi-close-button):not(.pi-hamburger):not(.mdc-switch):not(.pi-button__toggle):not(
|
||||
.pi-button__icon--single
|
||||
):not(.pi-button__xx-small):not(.pi-button__trimmed):not(.pi-button__toggle) {
|
||||
&:not(.pi-close-button):not(.pi-hamburger):not(.mdc-switch):not(
|
||||
.pi-button__toggle
|
||||
):not(.pi-button__icon--single):not(.pi-button__xx-small):not(
|
||||
.pi-button__trimmed
|
||||
):not(.pi-button__toggle) {
|
||||
min-width: unset;
|
||||
padding-left: unset;
|
||||
padding-right: unset;
|
||||
@@ -19,9 +21,11 @@
|
||||
}
|
||||
.pi-button__w100 {
|
||||
button {
|
||||
&:not(.pi-close-button):not(.pi-hamburger):not(.mdc-switch):not(.pi-button__toggle):not(
|
||||
.pi-button__icon--single
|
||||
):not(.pi-button__xx-small):not(.pi-button__trimmed):not(.pi-button__toggle) {
|
||||
&:not(.pi-close-button):not(.pi-hamburger):not(.mdc-switch):not(
|
||||
.pi-button__toggle
|
||||
):not(.pi-button__icon--single):not(.pi-button__xx-small):not(
|
||||
.pi-button__trimmed
|
||||
):not(.pi-button__toggle) {
|
||||
min-width: 100%;
|
||||
}
|
||||
}
|
||||
@@ -81,7 +85,9 @@
|
||||
// Aside is closed
|
||||
&.aside-is-closed {
|
||||
.pi-saas-aside {
|
||||
transform: translateX(calc(100vw + var(--pi-width-aside) + var(--pi-spacing-x-large)));
|
||||
transform: translateX(
|
||||
calc(100vw + var(--pi-width-aside) + var(--pi-spacing-x-large))
|
||||
);
|
||||
}
|
||||
}
|
||||
// Aside is closable
|
||||
@@ -151,7 +157,9 @@
|
||||
}
|
||||
& > *:nth-child(3) {
|
||||
flex-shrink: 0;
|
||||
width: calc(100% - var(--pi-spacing-x-large) - var(--pi-spacing-x-large));
|
||||
width: calc(
|
||||
100% - var(--pi-spacing-x-large) - var(--pi-spacing-x-large)
|
||||
);
|
||||
margin: 0 auto;
|
||||
.pi-icon-button {
|
||||
margin-bottom: var(--pi-spacing-x-large);
|
||||
@@ -217,7 +225,9 @@ html {
|
||||
&:not(.is-fullscreen) {
|
||||
.pi-saas-aside {
|
||||
top: 0;
|
||||
height: calc(100vh + env(safe-area-inset-top) + env(safe-area-inset-bottom));
|
||||
height: calc(
|
||||
100vh + env(safe-area-inset-top) + env(safe-area-inset-bottom)
|
||||
);
|
||||
width: 100%;
|
||||
& > .pi-close-button {
|
||||
margin-left: calc(100% - 0.9rem - var(--pi-spacing-large));
|
||||
@@ -225,8 +235,11 @@ html {
|
||||
|
||||
& > *:nth-child(2) {
|
||||
height: calc(
|
||||
100% - env(safe-area-inset-top) - env(safe-area-inset-bottom) -
|
||||
var(--pi-height-header-aside) - var(--pi-height-footer-aside)
|
||||
100% - env(safe-area-inset-top) - env(
|
||||
safe-area-inset-bottom
|
||||
) - var(--pi-height-header-aside) - var(
|
||||
--pi-height-footer-aside
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -260,7 +273,9 @@ html {
|
||||
|
||||
.pi-dynamic-menu {
|
||||
& > *:nth-child(3) {
|
||||
height: calc(var(--pi-height-footer-aside) + env(safe-area-inset-bottom));
|
||||
height: calc(
|
||||
var(--pi-height-footer-aside) + env(safe-area-inset-bottom)
|
||||
);
|
||||
margin: 0 auto var(--pi-spacing-xxx-large);
|
||||
}
|
||||
& > *:nth-child(n + 2) {
|
||||
@@ -292,7 +307,9 @@ html {
|
||||
&:not(.is-fullscreen) {
|
||||
.pi-saas-aside {
|
||||
top: var(--pi-spacing-x-large);
|
||||
height: calc(100vh - var(--pi-spacing-x-large) - var(--pi-spacing-x-large));
|
||||
height: calc(
|
||||
100vh - var(--pi-spacing-x-large) - var(--pi-spacing-x-large)
|
||||
);
|
||||
width: var(--pi-width-aside);
|
||||
border-radius: var(--pi-border-radius-large);
|
||||
box-shadow: var(--pi-box-shadow-panel-double);
|
||||
@@ -302,14 +319,18 @@ html {
|
||||
}
|
||||
|
||||
& > .pi-close-button {
|
||||
margin-left: calc(var(--pi-width-aside) - 1.125rem - var(--pi-spacing-large));
|
||||
margin-left: calc(
|
||||
var(--pi-width-aside) - 1.125rem - var(--pi-spacing-large)
|
||||
);
|
||||
}
|
||||
}
|
||||
// Aside is open
|
||||
&.aside-is-open {
|
||||
.pi-saas-aside {
|
||||
transform: translateX(
|
||||
calc(100vw - var(--pi-width-aside) - var(--pi-spacing-x-large))
|
||||
calc(
|
||||
100vw - var(--pi-width-aside) - var(--pi-spacing-x-large)
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -325,7 +346,9 @@ html {
|
||||
padding: var(--pi-spacing-x-large);
|
||||
}
|
||||
& > *:nth-child(3) {
|
||||
height: calc(var(--pi-height-footer-aside) + env(safe-area-inset-bottom));
|
||||
height: calc(
|
||||
var(--pi-height-footer-aside) + env(safe-area-inset-bottom)
|
||||
);
|
||||
margin: 0 auto;
|
||||
padding: var(--pi-spacing-x-large) 0 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user