Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anyway to change the default css behavior? #336

Open
binfeng opened this issue Aug 3, 2020 · 2 comments
Open

Anyway to change the default css behavior? #336

binfeng opened this issue Aug 3, 2020 · 2 comments
Labels
question Further information is requested

Comments

@binfeng
Copy link

binfeng commented Aug 3, 2020

I'm new to CSS and I would like to disable width: 100%; under the following css

.vue-simple-suggest.designed .input-wrapper input {
  display: block;
  width: 100%;
  padding: 10px;
  border: 1px solid #cde;
  border-radius: 3px;
  color: black;
  background: white;
  outline:none;
  -webkit-transition: all .1s;
  transition: all .1s;
  -webkit-transition-delay: .05s;
          transition-delay: .05s
}

And I am using vue-suggest component.

Is there any easy way I can do that? Thanks!

@kaskar2008
Copy link
Contributor

Hello.
There is a issue template you should use, some parts of which are important, such as:

How are you importing Vue-simple-suggest?

and

About your environment

@kaskar2008 kaskar2008 added the question Further information is requested label Aug 3, 2020
@binfeng
Copy link
Author

binfeng commented Aug 4, 2020

Sorry for forgetting using the template. I am using a Linux environment and import by define import VueSuggest from 'vue-simple-suggest/lib' in my_file.vue

Actually I think the following can overwrite the value to something I defined.

  .vue-simple-suggest.designed .input-wrapper input {
    display: block;
    width: 500px !important;
    padding: 10px;
    border: 1px solid #cde;
    border-radius: 3px;
    color: black;
    background: white;
    outline:none;
    -webkit-transition: all .1s;
    transition: all .1s;
    -webkit-transition-delay: .05s;
            transition-delay: .05s
  }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants