From d054f350915ffd1fd7fc2f8290648658844e0948 Mon Sep 17 00:00:00 2001 From: Elinor Date: Tue, 16 Feb 2021 15:10:40 +0300 Subject: [PATCH] Fix: adjust column width (#850) --- src/app/views/sidebar/sample-queries/SampleQueries.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/views/sidebar/sample-queries/SampleQueries.tsx b/src/app/views/sidebar/sample-queries/SampleQueries.tsx index 827536257..49466b96f 100644 --- a/src/app/views/sidebar/sample-queries/SampleQueries.tsx +++ b/src/app/views/sidebar/sample-queries/SampleQueries.tsx @@ -358,12 +358,12 @@ export class SampleQueries extends Component { let maxWidthOfHumanName = 180; if (window.innerWidth > 1280) { - maxWidthOfHumanName = 300; + maxWidthOfHumanName = 200; } window.onresize = () => { if (window.innerWidth > 1280) { - maxWidthOfHumanName = 300; + maxWidthOfHumanName = 200; } }; @@ -393,8 +393,8 @@ export class SampleQueries extends Component { key: 'button', name: '', fieldName: 'button', - minWidth: 20, - maxWidth: 20, + minWidth: 15, + maxWidth: 25, }, ];