Repository navigation
Fix the open tab. - #492
Conversation
There was a problem hiding this comment.
Nit: collapse is an obscure property value meant for tables. We're taking advantage of the fact that it falls back to hidden on non-table elements. Better to use hidden. https://developer.mozilla.org/en-US/docs/Web/CSS/visibility
There was a problem hiding this comment.
Nit: collapse is an obscure property value meant for tables. We're taking advantage of the fact that it falls back to hidden on non-table elements. Better to use hidden. https://developer.mozilla.org/en-US/docs/Web/CSS/visibility
The problem with hidden is that unlike collapse it still takes up a space even though it is not displayed.
There was a problem hiding this comment.
Hmm, this might be relying on a bug in our implementation. From https://developer.mozilla.org/en-US/docs/Web/CSS/visibility.
For table rows, columns, column groups, and row groups the row(s) or column(s) are hidden and the space they would have occupied is removed (as if display: none were applied to the column/row of the table). For other elements, collapse is treated the same as hidden.
There was a problem hiding this comment.
If we want display: none we should probably use display:none.
Fix for #484