fix(ui): fix header height
This commit is contained in:
parent
73ecaf5440
commit
d60d6ab487
4 changed files with 4 additions and 4 deletions
|
|
@ -152,7 +152,7 @@ export default class FetchDetails extends React.PureComponent {
|
|||
onClick={ this.onTabClick }
|
||||
border={ true }
|
||||
/>
|
||||
<div style={{ height: 'calc(100vh - 314px)', overflowY: 'auto' }}>
|
||||
<div style={{ height: 'calc(100vh - 364px)', overflowY: 'auto' }}>
|
||||
{ this.renderActiveTab(activeTab) }
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ export default class GQLDetails extends React.PureComponent {
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div style={{ height: 'calc(100vh - 314px)', overflowY: 'auto' }}>
|
||||
<div style={{ height: 'calc(100vh - 364px)', overflowY: 'auto' }}>
|
||||
<div>
|
||||
<div className="flex justify-between items-start mt-6 mb-2">
|
||||
<h5 className="mt-1 mr-1">{'Variables'}</h5>
|
||||
|
|
|
|||
|
|
@ -151,7 +151,7 @@ function FetchTabs({ resource }: Props) {
|
|||
return (
|
||||
<div>
|
||||
<Tabs tabs={TABS} active={activeTab} onClick={onTabClick} border={true} />
|
||||
<div style={{ height: 'calc(100vh - 314px)', overflowY: 'auto' }}>{renderActiveTab()}</div>
|
||||
<div style={{ height: 'calc(100vh - 364px)', overflowY: 'auto' }}>{renderActiveTab()}</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ function GraphQLDetailsModal(props: Props) {
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div style={{ height: 'calc(100vh - 314px)', overflowY: 'auto' }}>
|
||||
<div style={{ height: 'calc(100vh - 364px)', overflowY: 'auto' }}>
|
||||
<div>
|
||||
<div className="flex justify-between items-start mt-6 mb-2">
|
||||
<h5 className="mt-1 mr-1 font-medium">{'Variables'}</h5>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue