Explorar o código

fix long words being too long on mobile

Gregg Tavares %!s(int64=6) %!d(string=hai) anos
pai
achega
374dfeedf2
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      threejs/lessons/resources/lesson.css

+ 5 - 0
threejs/lessons/resources/lesson.css

@@ -24,6 +24,11 @@ pre.prettyprint li {
     white-space: pre;
 }
 
+/* to handle long words in paragraph */
+p code {
+  word-break: break-word;
+  white-space: normal;
+}
 
 div[data-diagram] {
   height: 100%;