浏览代码

hyphens at short widths

Heydon Pickering 8 年之前
父节点
当前提交
94696d8b7d
共有 3 个文件被更改,包括 10 次插入0 次删除
  1. 5 0
      docs/css/styles.css
  2. 0 0
      docs/service-worker.js
  3. 5 0
      themes/infusion/static/css/styles.css

+ 5 - 0
docs/css/styles.css

@@ -796,6 +796,11 @@ h1 svg {
   width: 1px;
 }
 @media screen and (max-width: 45em) {
+
+    body {
+      hyphens: auto;
+    }
+
     [role="banner"] {
         position: static;
         width: auto;

文件差异内容过多而无法显示
+ 0 - 0
docs/service-worker.js


+ 5 - 0
themes/infusion/static/css/styles.css

@@ -796,6 +796,11 @@ h1 svg {
   width: 1px;
 }
 @media screen and (max-width: 45em) {
+
+    body {
+      hyphens: auto;
+    }
+
     [role="banner"] {
         position: static;
         width: auto;

部分文件因为文件数量过多而无法显示