-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(web): 兼容低版本 chrome 浏览器,兼容 360 极速浏览器 (#1333)
### 兼容低版本 chrome 浏览器,兼容 360 极速浏览器 国内360用户较多,但antd自5.0版本以后,默认不兼容低版本Chrome,360极速模式、搜狗浏览器,主要原因是 :where 选择器。本PR增加了样式兼容,主要包括: #### :where 选择器 #### CSS 逻辑属性 参考: https://ant.design/docs/react/compatible-style-cn#styleprovider ant-design/pro-components#6065 ant-design/pro-components#6195 当前在360浏览器展示如下: <img width="1092" alt="1719889823356" src="https://github.com/PKUHPC/SCOW/assets/25954437/c3261d86-795c-4c14-a18c-d54a645e80d9"> 修改后在360展示情况如下: <img width="750" alt="1719826959249" src="https://github.com/PKUHPC/XSCOW/assets/25954437/53a0bf66-2d49-4289-82ad-155ad3fc3568">
- Loading branch information
Showing
5 changed files
with
58 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"@scow/portal-web": patch | ||
"@scow/mis-web": patch | ||
"@scow/ai": patch | ||
--- | ||
|
||
兼容低版本 chrome 浏览器,兼容 360 极速浏览器 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.