]> git.ardis.lu - css-for-line-clamp-ellipsis/commitdiff
Balance header on small screens
authorArdis Lu <ardisglu@gmail.com>
Wed, 19 Apr 2023 07:10:40 +0000 (00:10 -0700)
committerArdis Lu <ardisglu@gmail.com>
Wed, 19 Apr 2023 07:10:40 +0000 (00:10 -0700)
Non-breaking space forces earlier line break to make the lines balanced.

index.html

index 468f8ea40100f46712baecbaf8561ecce2f8ee07..302a4cb733badd74e4220d40ef37873879c17200 100644 (file)
 
 <body>
   <header>
-    <h1>CSS for line clamp ellipsis</h1>
+    <h1>CSS for line clamp&nbsp;ellipsis</h1>
     <a href="https://github.com/ardislu/css-for-line-clamp-ellipsis">GitHub</a>
   </header>
 
This page took 0.040769 seconds and 4 git commands to generate.