When looking at the XHProf result table, the first column that normally shows the name of the function is not being shown.
Inspecting this table in the browser shows the following CSS hiding this first column:
@media only screen and (max-width: 1800px)
table.responsive th:first-child, table.responsive td:first-child, table.responsive td:first-child, table.responsive.pinned td {
display: none;
}
Not sure why this is being done. But in debugging this I notice that the xhprof.css file is changing the styling of ALL responsive tables on the site. This needs to be rewritten to only affect the XHProf result table. You need to add a css class to this table output so you can use it to restrict the css changes.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | xhprof-over-responsive-2980756-3.patch | 394 bytes | mikeryan |
Comments
Comment #2
andypostYep, it looks ugly sometimes, https://cgit.drupalcode.org/XHProf/tree/css/xhprof.css#n101
For sure global styling should be removed
Comment #3
mikeryanQuick and dirty fix - I'm not sure I see where hiding the function name column (the very most important one!) is helpful in any responsive situation.
Comment #4
andypost++ IMO better to remove this styles
Comment #6
moshe weitzman commentedI'm not really maintaining this module but I needed it today so trying to pitch in. This patch works and is sorely needed so in it goes.
Comment #8
moshe weitzman commentedSorry, had to revert this. I was seeing the Function name column being duplicated and offset a bit in the new symbol detail page.
Comment #9
andypost