Skip to content
This repository was archived by the owner on May 20, 2023. It is now read-only.

Commit ac1fd84

Browse files
zacharydentonnshahan
authored andcommitted
Fix scoreboard misalignment on OS X with hl=ja.
Caused by a text rendering issue where the 万 characters extend past the normal boundaries of the line. PiperOrigin-RevId: 175852463
1 parent de72f70 commit ac1fd84

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

lib/scorecard/scoreboard.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@
5757
.scroll-back-button {
5858
left: 0;
5959
}
60+
61+
acx-scorecard {
62+
vertical-align: top;
63+
}
6064
}
6165

6266
.acx-scoreboard-vertical {

lib/scorecard/scorecard.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,10 @@ h3 {
100100

101101
h2 {
102102
font-size: $font-size-heading;
103+
104+
value {
105+
line-height: 1;
106+
}
103107
}
104108

105109
.description,

0 commit comments

Comments
 (0)