ktmud commented on a change in pull request #11732:
URL: 
https://github.com/apache/incubator-superset/pull/11732#discussion_r525780066



##########
File path: superset-frontend/stylesheets/superset.less
##########
@@ -590,3 +590,9 @@ hr {
   background-image: url('../images/icons/error_solid_small_red.svg') 
!important;
   background-position: -2px center !important;
 }
+
+.Select__value-container--is-multi .Select__input {
+  input {
+    width: 100% !important;

Review comment:
       I tested locally and it seems to work better without this line. Plus 
this looks very very hacky... I'm not sure it's worth it. 
   
   
   The diff that worked for me:
   
   ```diff
   diff --git a/superset-frontend/src/components/Select/styles.tsx 
b/superset-frontend/src/components/Select/styles.tsx
   index f8c2e8825..ed476ffde 100644
   --- a/superset-frontend/src/components/Select/styles.tsx
   +++ b/superset-frontend/src/components/Select/styles.tsx
   @@ -312,6 +312,9 @@ export const DEFAULT_COMPONENTS: SelectComponentsType = {
          <Input
            {...props}
            placeholder={isMultiWithValue ? placeholder : undefined}
   +        // disable Chrome's address autocomplete
   +        // @ts-ignore
   +        autocomplete="chrome-off"
            css={getStyles('input', props)}
          />
        );
   diff --git a/superset-frontend/stylesheets/superset.less 
b/superset-frontend/stylesheets/superset.less
   index adb56ea11..cdd259b6d 100644
   --- a/superset-frontend/stylesheets/superset.less
   +++ b/superset-frontend/stylesheets/superset.less
   @@ -590,9 +590,3 @@ hr {
      background-image: url('../images/icons/error_solid_small_red.svg') 
!important;
      background-position: -2px center !important;
    }
   -
   -.Select__value-container--is-multi .Select__input {
   -  input {
   -    width: 100% !important;
   -  }
   -}
   ```




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to