From 6bfe26ea7f00e4ccf2d0181be1a2d556cda67117 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Wed, 7 Sep 2011 17:11:13 -0700 Subject: [PATCH] Fixed logs auto column with, Time is statically set, others are dynamic (no more smallest possible width). --- NzbDrone.Web/Views/Log/All.cshtml | 6 +++--- NzbDrone.Web/Views/Log/Index.cshtml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/NzbDrone.Web/Views/Log/All.cshtml b/NzbDrone.Web/Views/Log/All.cshtml index a17e87f59..6efd8aedf 100644 --- a/NzbDrone.Web/Views/Log/All.cshtml +++ b/NzbDrone.Web/Views/Log/All.cshtml @@ -33,9 +33,9 @@ Logs .TableHtmlAttributes(new { @class = "Grid" }) .Columns(columns => { - columns.Bound(c => c.Time).Title("Time").Width(0); - columns.Bound(c => c.Level).Title("Level").Width(0); - columns.Bound(c => c.Logger).Title("Source").Width(0); + columns.Bound(c => c.Time).Title("Time").Width(170); + columns.Bound(c => c.Level).Title("Level"); + columns.Bound(c => c.Logger).Title("Source"); columns.Bound(c => c.Message); }) .DetailView(detailView => detailView.ClientTemplate( diff --git a/NzbDrone.Web/Views/Log/Index.cshtml b/NzbDrone.Web/Views/Log/Index.cshtml index 67affba11..d76c4e58b 100644 --- a/NzbDrone.Web/Views/Log/Index.cshtml +++ b/NzbDrone.Web/Views/Log/Index.cshtml @@ -33,9 +33,9 @@ Logs .TableHtmlAttributes(new { @class = "Grid" }) .Columns(columns => { - columns.Bound(c => c.Time).Title("Time").Width(0); - columns.Bound(c => c.Level).Title("Level").Width(0); - columns.Bound(c => c.Logger).Title("Source").Width(0); + columns.Bound(c => c.Time).Title("Time").Width(170); + columns.Bound(c => c.Level).Title("Level"); + columns.Bound(c => c.Logger).Title("Source"); columns.Bound(c => c.Message); }) .DetailView(detailView => detailView.ClientTemplate(