Skip to content

Commit

Permalink
Fix: adjust column width (#850)
Browse files Browse the repository at this point in the history
  • Loading branch information
ElinorW committed Feb 16, 2021
1 parent 4022373 commit d054f35
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/app/views/sidebar/sample-queries/SampleQueries.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -358,12 +358,12 @@ export class SampleQueries extends Component<ISampleQueriesProps, any> {

let maxWidthOfHumanName = 180;
if (window.innerWidth > 1280) {
maxWidthOfHumanName = 300;
maxWidthOfHumanName = 200;
}

window.onresize = () => {
if (window.innerWidth > 1280) {
maxWidthOfHumanName = 300;
maxWidthOfHumanName = 200;
}
};

Expand Down Expand Up @@ -393,8 +393,8 @@ export class SampleQueries extends Component<ISampleQueriesProps, any> {
key: 'button',
name: '',
fieldName: 'button',
minWidth: 20,
maxWidth: 20,
minWidth: 15,
maxWidth: 25,
},
];

Expand Down

0 comments on commit d054f35

Please sign in to comment.