fix(ui): fix header height

This commit is contained in:
nick-delirium 2023-06-16 09:38:23 +02:00
parent 73ecaf5440
commit d60d6ab487
4 changed files with 4 additions and 4 deletions

View file

@ -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>

View file

@ -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>

View file

@ -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>
);
}

View file

@ -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>