0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-30 20:33:54 -05:00

fix: downgrade parcel to fix styling issues (#2549)

This commit is contained in:
Charles Zhao 2022-11-29 11:28:19 +08:00 committed by GitHub
parent a9d607658d
commit 3350d11ffc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 440 additions and 439 deletions

View file

@ -26,10 +26,10 @@
"@logto/react": "1.0.0-beta.13", "@logto/react": "1.0.0-beta.13",
"@logto/schemas": "workspace:^", "@logto/schemas": "workspace:^",
"@mdx-js/react": "^1.6.22", "@mdx-js/react": "^1.6.22",
"@parcel/core": "2.8.0", "@parcel/core": "2.7.0",
"@parcel/transformer-mdx": "2.8.0", "@parcel/transformer-mdx": "2.7.0",
"@parcel/transformer-sass": "2.8.0", "@parcel/transformer-sass": "2.7.0",
"@parcel/transformer-svg-react": "2.8.0", "@parcel/transformer-svg-react": "2.7.0",
"@silverhand/eslint-config": "1.3.0", "@silverhand/eslint-config": "1.3.0",
"@silverhand/eslint-config-react": "1.3.0", "@silverhand/eslint-config-react": "1.3.0",
"@silverhand/essentials": "^1.3.0", "@silverhand/essentials": "^1.3.0",
@ -63,7 +63,7 @@
"lodash.get": "^4.4.2", "lodash.get": "^4.4.2",
"lodash.kebabcase": "^4.1.1", "lodash.kebabcase": "^4.1.1",
"nanoid": "^3.1.23", "nanoid": "^3.1.23",
"parcel": "2.8.0", "parcel": "2.7.0",
"postcss": "^8.4.6", "postcss": "^8.4.6",
"postcss-modules": "^4.3.0", "postcss-modules": "^4.3.0",
"prettier": "^2.7.1", "prettier": "^2.7.1",

View file

@ -41,12 +41,9 @@
} }
} }
.dropdown {
padding: _.unit(2);
}
.dropdownItem { .dropdownItem {
min-width: 170px; min-width: 170px;
padding: _.unit(2.5) _.unit(2);
&.loading { &.loading {
opacity: 60%; opacity: 60%;

View file

@ -58,7 +58,6 @@ const UserInfo = () => {
</div> </div>
<Dropdown <Dropdown
anchorRef={anchorRef} anchorRef={anchorRef}
className={styles.dropdown}
isOpen={showDropdown} isOpen={showDropdown}
horizontalAlign="end" horizontalAlign="end"
onClose={() => { onClose={() => {

View file

@ -31,7 +31,7 @@
.dropdownTitle { .dropdownTitle {
@include _.subhead-cap; @include _.subhead-cap;
padding: _.unit(5) _.unit(5) _.unit(3) _.unit(4); padding: _.unit(3) _.unit(5) _.unit(3) _.unit(4);
} }
.dropdown { .dropdown {

View file

@ -21,8 +21,8 @@
"@logto/phrases": "workspace:^", "@logto/phrases": "workspace:^",
"@logto/react": "1.0.0-beta.13", "@logto/react": "1.0.0-beta.13",
"@logto/schemas": "workspace:^", "@logto/schemas": "workspace:^",
"@parcel/core": "2.8.0", "@parcel/core": "2.7.0",
"@parcel/transformer-sass": "2.8.0", "@parcel/transformer-sass": "2.7.0",
"@silverhand/eslint-config": "1.3.0", "@silverhand/eslint-config": "1.3.0",
"@silverhand/eslint-config-react": "1.3.0", "@silverhand/eslint-config-react": "1.3.0",
"@silverhand/ts-config": "1.2.1", "@silverhand/ts-config": "1.2.1",
@ -34,7 +34,7 @@
"i18next": "^21.8.16", "i18next": "^21.8.16",
"i18next-browser-languagedetector": "^6.1.4", "i18next-browser-languagedetector": "^6.1.4",
"lint-staged": "^13.0.0", "lint-staged": "^13.0.0",
"parcel": "2.8.0", "parcel": "2.7.0",
"postcss": "^8.4.6", "postcss": "^8.4.6",
"prettier": "^2.7.1", "prettier": "^2.7.1",
"react": "^18.0.0", "react": "^18.0.0",

View file

@ -22,9 +22,9 @@
"@logto/phrases": "workspace:^", "@logto/phrases": "workspace:^",
"@logto/phrases-ui": "workspace:^", "@logto/phrases-ui": "workspace:^",
"@logto/schemas": "workspace:^", "@logto/schemas": "workspace:^",
"@parcel/core": "2.8.0", "@parcel/core": "2.7.0",
"@parcel/transformer-sass": "2.8.0", "@parcel/transformer-sass": "2.7.0",
"@parcel/transformer-svg-react": "2.8.0", "@parcel/transformer-svg-react": "2.7.0",
"@peculiar/webcrypto": "^1.3.3", "@peculiar/webcrypto": "^1.3.3",
"@silverhand/eslint-config": "1.3.0", "@silverhand/eslint-config": "1.3.0",
"@silverhand/eslint-config-react": "1.3.0", "@silverhand/eslint-config-react": "1.3.0",
@ -53,7 +53,7 @@
"ky": "^0.32.0", "ky": "^0.32.0",
"libphonenumber-js": "^1.9.49", "libphonenumber-js": "^1.9.49",
"lint-staged": "^13.0.0", "lint-staged": "^13.0.0",
"parcel": "2.8.0", "parcel": "2.7.0",
"postcss": "^8.4.6", "postcss": "^8.4.6",
"postcss-modules": "^4.3.0", "postcss-modules": "^4.3.0",
"prettier": "^2.7.1", "prettier": "^2.7.1",

File diff suppressed because it is too large Load diff