Skip to content

Commit

Permalink
Fix: Response area pivot font sizes (#2049)
Browse files Browse the repository at this point in the history
  • Loading branch information
ElinorW authored Aug 24, 2022
1 parent a7d1b61 commit 0cafe3d
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/app/views/query-response/pivot-items/pivot-items.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ export const GetPivotItems = () => {

function renderItemLink(link: any) {
return (
<>
<span>
<Icon iconName={link.itemIcon} style={{ paddingRight: 5 }} />
{link.headerText}

{link.itemKey === 'adaptive-cards' && showDotIfAdaptiveCardPresent()}
{link.itemKey === 'toolkit-component' && showDotIfGraphToolkitPresent()}
</>
</span>

);
}
Expand All @@ -68,7 +68,6 @@ export const GetPivotItems = () => {
itemKey='response-preview' // To be used to construct component name for telemetry data
headerText={translateMessage('Response Preview')}
title={translateMessage('Response Preview')}
onRenderItemLink={renderItemLink}
headerButtonProps={{
'aria-controls': 'response-tab'
}}
Expand All @@ -82,7 +81,6 @@ export const GetPivotItems = () => {
itemIcon='FileComment'
itemKey='response-headers'
title={translateMessage('Response Headers')}
onRenderItemLink={renderItemLink}
headerButtonProps={{
'aria-controls': 'response-headers-tab'
}}
Expand All @@ -99,7 +97,6 @@ export const GetPivotItems = () => {
headerText={translateMessage('Snippets')}
itemIcon='PasteAsCode'
itemKey='code-snippets'
onRenderItemLink={renderItemLink}
headerButtonProps={{
'aria-controls': 'code-snippets-tab'
}}
Expand Down

0 comments on commit 0cafe3d

Please sign in to comment.