Make the sidebar pretty

Summary:
Now that the events tracking works again, make sure that the padding is not all over the place in the sidebar.

Before:

{F162525912}

Reviewed By: priteshrnandgaonkar

Differential Revision: D15875758

fbshipit-source-id: a30f057c8c0dc2dc77fc40f416ff565cc6621109
This commit is contained in:
Pascal Hartig
2019-06-20 03:46:26 -07:00
committed by Facebook Github Bot
parent 0e7aaaacff
commit 5c497d3eea
2 changed files with 4 additions and 11 deletions

View File

@@ -140,7 +140,7 @@ export default class Panel extends React.Component<
collapsed={collapsed}>
<Panel.PanelHeader
floating={floating}
padded={typeof heading === 'string'}
padded={padded || typeof heading === 'string'}
onClick={this.onClick}>
<span>
{collapsable && (