diff templates/frontpage.html @ 462:5ca151c7a4e6

frontpage: remove autowidth class, wrap words in quick start example Right now this means that the first line (with the repo URL) will get word-wrapped, and it doesn't look too good: """ $ hg clone https://selenic.com/repo/hello """ The next patch will use a different URL for a different effect.
author Anton Shestakov <av6@dwimlabs.net>
date Fri, 22 Jul 2016 18:42:51 +0800
parents 19ea041943ed
children 4ec689699207
line wrap: on
line diff
--- a/templates/frontpage.html	Thu Jul 14 22:18:36 2016 -0700
+++ b/templates/frontpage.html	Fri Jul 22 18:42:51 2016 +0800
@@ -35,11 +35,11 @@
             </li>
         </ol>
     </div>
-    <div class="col autowidth">
+    <div class="col">
         <h3>Quick Start</h3>
 
         <p><em>Clone a project and push changes</em>
-<pre>$ hg clone https://selenic.com/repo/hello
+<pre class="wrap">$ hg clone https://selenic.com/repo/hello
 $ cd hello
 $ (edit files)
 $ hg add (new files)
@@ -50,7 +50,7 @@
 </p>
 
 <p><em>Create a project and commit</em>
-<pre>$ hg init (project-directory)
+<pre class="wrap">$ hg init (project-directory)
 $ cd (project-directory)
 $ (add some files)
 $ hg add