From c61aedd1061ef526185f7843db394d59a8c830e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20S=C3=BC=C3=9F?= Date: Mon, 24 Oct 2016 23:43:54 +0200 Subject: [PATCH] Setting column width at the first entry --- hledger-web/Handler/Common.hs | 4 ++-- hledger-web/static/hledger.css | 7 ++----- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/hledger-web/Handler/Common.hs b/hledger-web/Handler/Common.hs index f965efd08..8547663ff 100644 --- a/hledger-web/Handler/Common.hs +++ b/hledger-web/Handler/Common.hs @@ -66,7 +66,7 @@ sidebar vd@VD{..} =
-
+ Journal ^{accounts} @@ -198,7 +198,7 @@ balanceReportAsHtml _ vd@VD{..} (items',total) = #{adisplay} $if hassubs only - + #{mixedAmountAsHtml abal} |] where diff --git a/hledger-web/static/hledger.css b/hledger-web/static/hledger.css index aff7234b7..6fd72101c 100644 --- a/hledger-web/static/hledger.css +++ b/hledger-web/static/hledger.css @@ -113,6 +113,7 @@ ul { } #sidebar-menu .main-menu { table-layout: fixed; + word-wrap: break-word; } #sidebar-menu .main-menu td { @@ -181,14 +182,10 @@ ul { } #sidebar-menu .main-menu .acct { - width:80%; + width:60%; vertical-align:bottom; } -#sidebar-menu .main-menu .amnt { - width:20%; -} - .transactionsreport .nonhead { border: none !important; }