Skip to content

Commit 8078806

Browse files
authored
Merge pull request #199 from hwaphon/feature/web-back-style
fix(runtime-web): 因行高导致的不居中问题
2 parents 073056e + a064097 commit 8078806

File tree

1 file changed

+1
-0
lines changed
  • packages/runtime-web/src/components/src/private

1 file changed

+1
-0
lines changed

packages/runtime-web/src/components/src/private/back.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ class Back extends BaseElement {
99
display: inline-block;
1010
width: 48px;
1111
height: 48px;
12+
line-height: 1;
1213
pointer-events: auto;
1314
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
1415
}

0 commit comments

Comments
 (0)