[PATCH website] frontpage: don't cut off text in quick start snippet, resize the column instead

Anton Shestakov av6 at dwimlabs.net
Sat May 28 01:33:18 UTC 2016


# HG changeset patch
# User Anton Shestakov <av6 at dwimlabs.net>
# Date 1464398893 -28800
#      Sat May 28 09:28:13 2016 +0800
# Node ID 19ea041943ed16f4cb5c1404d9be6caee11ec44d
# Parent  c3c50748a20b4eedb749762e912691873516e9bc
frontpage: don't cut off text in quick start snippet, resize the column instead

Otherwise it looks like it says 'hg clone https://selenic.com/repo/hell'.

diff --git a/static/css/styles.css b/static/css/styles.css
--- a/static/css/styles.css
+++ b/static/css/styles.css
@@ -98,6 +98,7 @@ blockquote, q { quotes: "" ""; }
 .big { float: left; width: 470px; }
 .quote { float: right; width: 740px; text-align: right; margin-right: 25px;   }
 .big h2 { margin-top: 20px; }
+.autowidth { width: auto; margin-right: 0; }
 
 /*
  * Logo
diff --git a/templates/frontpage.html b/templates/frontpage.html
--- a/templates/frontpage.html
+++ b/templates/frontpage.html
@@ -35,7 +35,7 @@
             </li>
         </ol>
     </div>
-    <div class="col">
+    <div class="col autowidth">
         <h3>Quick Start</h3>
 
         <p><em>Clone a project and push changes</em>


More information about the Mercurial-devel mailing list