ravendb/ravendb — pull request #503 by ToshB (2013-02-10 15:06:33+00:00)
Title: Mvc integration styling

This fixes a bug with scrollbars displaying when the profiler is larger than the window, even when the profiler window is hidden.

The sessions table calculates size by looking at rendered widths, requiring that the table is rendered when recalculating. The recalculation was done on every new request, forcing the profilerview to only be hidden using visibility:hidden instead of display:none, causing scrollbars to appear.

This pull request moves the recalculation to when the view is displayed, allowing hiding by display:none, removing unneeded scrollbars.

Ideally I think the tables should be merged into one table, so manual resizing won't be needed, but this requires a new solution for the session headers.

This pull request also overrides a style set by twitter bootstrap, causing pre's (the query column) to break words, causing bad formatting in narrow windows.