]> git.ardis.lu - css-for-line-clamp-ellipsis/commitdiff
Increase line height of non-example prose
authorArdis Lu <ardisglu@gmail.com>
Wed, 19 Apr 2023 07:03:55 +0000 (00:03 -0700)
committerArdis Lu <ardisglu@gmail.com>
Wed, 19 Apr 2023 07:03:55 +0000 (00:03 -0700)
To avoid squishing inline <code> tags

index.html

index e015daf2255ce371528cee503ad298e856333acf..468f8ea40100f46712baecbaf8561ecce2f8ee07 100644 (file)
       inline-size: min(80ch, 100%);
     }
 
+    p:not(.line-clamp, .dynamic-line-clamp) {
+      line-height: 1.5;
+    }
+
     pre,
     code {
       font-family: 'Source Code Pro', monospace;
This page took 0.039222 seconds and 4 git commands to generate.