Skip to content

Commit

Permalink
Fix: sidebar http methods (#527)
Browse files Browse the repository at this point in the history
* fixes unresponsive method badge

* adds horizontal scrolling to the sidebar
  • Loading branch information
thewahome committed May 7, 2020
1 parent 7f91332 commit 65ca584
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/views/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ interface IAppState {

class App extends Component<IAppProps, IAppState> {

private mediaQueryList = window.matchMedia('(max-width: 1260px)');
private mediaQueryList = window.matchMedia('(max-width: 992px)');

constructor(props: IAppProps) {
super(props);
Expand Down
2 changes: 1 addition & 1 deletion src/app/views/sidebar/Sidebar.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const sidebarStyles = (theme: ITheme) => {
maxHeight: pageHeight,
minHeight: pageHeight,
overflowY: 'auto',
overflowX: 'hidden',
overflowX: 'auto',
fontSize: FontSizes.medium,
background: 'inherit'
},
Expand Down
5 changes: 5 additions & 0 deletions src/app/views/sidebar/sample-queries/SampleQueries.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,11 @@ export class SampleQueries extends Component<ISampleQueriesProps, any> {
</a>
</MessageBar>
<DetailsList className={classes.queryList}
cellStyleProps={{
cellRightPadding: 0,
cellExtraRightPadding: 0,
cellLeftPadding: 0,
}}
layoutMode={DetailsListLayoutMode.justified}
onRenderItemColumn={this.renderItemColumn}
items={groupedList.samples}
Expand Down

0 comments on commit 65ca584

Please sign in to comment.