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

How to custom select css #83

Open
ooolin321 opened this issue Jan 28, 2022 · 2 comments
Open

How to custom select css #83

ooolin321 opened this issue Jan 28, 2022 · 2 comments

Comments

@ooolin321
Copy link

I want to make .select wide:100%,but is seems not working to me

<template>
  <vue-multi-select
    v-model="values"
    :filters="filters"
    :options="options"
    :selectOptions="data"
    :btnLabel="btnLabel"
    @selectionChanged="getMultiValues"
    btnClass="roleSelect"
  />
</template>

<style lang="scss">
  .roleSelect{
    width: 100%;
  }
</style>
@iNeoO
Copy link
Owner

iNeoO commented Jan 28, 2022

use the ::v-deep roleSelect, wait i will dig (thoiugh you used scoped)

@iNeoO
Copy link
Owner

iNeoO commented Jan 28, 2022

edit the select class with ::v-deep (use display: block)

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

No branches or pull requests

2 participants