From ec7bc05c045d78feefea525fc1d428f160482533 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Tue, 6 Mar 2012 18:22:41 -0800 Subject: [PATCH] tahoe.css: fix #section typo, update welcome.xhtml to match The "#section" declaration (which matches id="section") should have been ".section" (which matches class="section"). The welcome page has a feature that I actually liked: the little "This Client" sidebar sits just to the right of the start of the Controls block. Fixing .section broke that (the clear:both introduces a gap, forcing the Controls block to start strictly below the bottom of the This Client block). So I also removed class="section" from the Controls block to allow them to share the horizontal space again. --- src/allmydata/web/static/tahoe.css | 2 +- src/allmydata/web/welcome.xhtml | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/allmydata/web/static/tahoe.css b/src/allmydata/web/static/tahoe.css index e834ecc7..297bbe44 100644 --- a/src/allmydata/web/static/tahoe.css +++ b/src/allmydata/web/static/tahoe.css @@ -80,7 +80,7 @@ th.nickname-and-peerid { /* just in case, make sure floats don't stomp on big tables etc. */ -#section { clear: both; } +.section { clear: both; } /* section-specific styles - turn this client info into a sidebar */ #this-client { diff --git a/src/allmydata/web/welcome.xhtml b/src/allmydata/web/welcome.xhtml index 6bf1deba..3df902d0 100644 --- a/src/allmydata/web/welcome.xhtml +++ b/src/allmydata/web/welcome.xhtml @@ -22,11 +22,9 @@ Tahoe-LAFS code imported from: Services running: - - -
+

Controls

There are also controls for each directory on that directory's page.

-- 2.45.2