Skip to content

Commit

Permalink
fix(router): 修复 CSS 单行注释语法问题 (#15737)
Browse files Browse the repository at this point in the history
  • Loading branch information
anyesu committed May 20, 2024
1 parent 1653ac1 commit b9912e2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/taro-router/src/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
export function loadAnimateStyle (ms = 300) {
const css = `
body {
overflow: hidden; // 防止 iOS 页面滚动
/* 防止 iOS 页面滚动 */
overflow: hidden;
}
.taro_router > .taro_page {
position: absolute;
Expand Down Expand Up @@ -135,7 +136,7 @@ export function loadNavigationBarStyle () {
to {
transform: rotate(360deg);
}
}
}
.taro-navigation-bar-no-icon > .taro-navigation-bar-home {
display: none;
Expand Down

0 comments on commit b9912e2

Please sign in to comment.