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

COffcanvas doesn't apply custom css styles, classes, ids for css styles #278

Closed
giquo opened this issue Jan 4, 2024 · 2 comments
Closed

Comments

@giquo
Copy link

giquo commented Jan 4, 2024

  • Operating system and version: Windows 10 22H2
  • Browser: Firefox Dev Edition 122.0b5 (64-bit); Brave v1.61.109

When trying to use custom css as the documentation suggest https://coreui.io/vue/docs/components/offcanvas.html#css-variables

const offcanvasCreateStyle {
'--cui-offcanvas-width': '90%',
}
<COffcanvas
    backdrop="static"
    placement="end"
    :visible="isCreateCompanyOpen"
    :style="offcanvasCreateStyle"
    @hide="
      () => {
        isCreateCompanyOpen = !isCreateCompanyOpen
      }
    "
  >

I see no style applied, even using class="css-class" or id="css-id" on
I even used the inspector if I found something called with those names "css-class" or id="css-id" but found nothing
Tried even other custom classes but none of them are applying.

@mrholek
Copy link
Member

mrholek commented Jan 5, 2024

Fixed in @coreui/vue v4.10.2 / @coreui/vue-pro v4.11.3

Copy link

github-actions bot commented Mar 5, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions

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

No branches or pull requests

2 participants