Fixed settings dialog header; Adjust padding on dialog

Some recent changes to dialogs changed how this works and altered the look of the settings dialogs. This fixes that and makes it so that the header and content scroll independently.

Fixes https://github.com/vector-im/riot-web/issues/8329
Fixes https://github.com/vector-im/riot-web/issues/8328
This commit is contained in:
Travis Ralston 2019-01-29 21:45:15 -07:00
parent 786e725f5f
commit 4036e52c24
6 changed files with 56 additions and 74 deletions

View file

@ -97,7 +97,9 @@ export class TabbedView extends React.Component {
_renderTabPanel(tab) {
return (
<div className="mx_TabbedView_tabPanel" key={"mx_tabpanel_" + tab.label}>
{tab.body}
<div className='mx_TabbedView_tabPanelContent'>
{tab.body}
</div>
</div>
);
}