Skip to content

Commit a448671

Browse files
authored
fix: add a patch for global style (#947)
1 parent 6bd30e0 commit a448671

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
diff --git a/adev/src/local-styles.scss b/adev/src/local-styles.scss
2+
index 4dcf2e82aa..ba311a65f9 100644
3+
--- a/adev/src/local-styles.scss
4+
+++ b/adev/src/local-styles.scss
5+
@@ -1 +1,15 @@
6+
-@import './styles/xterm';
7+
\ No newline at end of file
8+
+@import './styles/xterm';
9+
+
10+
+// adev-ja overrides
11+
+docs-viewer {
12+
+ // `balance` is not good for Japanese headings.
13+
+ h1,
14+
+ h2,
15+
+ h3,
16+
+ h4,
17+
+ h5,
18+
+ h6 {
19+
+ text-wrap: pretty;
20+
+ }
21+
+ }
22+
+
23+
\ No newline at end of file

0 commit comments

Comments
 (0)