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

Custom style was not works well in Production #60

Closed
aqordeon opened this issue Dec 18, 2023 · 2 comments
Closed

Custom style was not works well in Production #60

aqordeon opened this issue Dec 18, 2023 · 2 comments

Comments

@aqordeon
Copy link

In local, the notification works well with custom css .my-notification and type success will reproduce class my-notification success
but in production, the notification reproduces the wrong class my-notificationsuccess which leads to failure to render the style.

All is well just the style is issue. Has anyone ever experienced this and have resolved it?

Local

<div class="vue-notification-group" style="width: 500px; top: 0px; right: 0px;">
     <span>
         <div class="vue-notification-wrapper" style="transition: all 300ms ease 0s;" data-id="3">
             <div class="my-notification success flex pl-3 pr-4 py-2 gap-x-3">
                 <div class="flex items-center justify-center">
                     <!-- Icon here -->
                 </div>
                 <div class="flex flex-col justify-center">
                     <p class="text-sm truncate mb-0 max-w-full">Text successfully copied to clipboard.</p>
                 </div>
             </div>
         </div>
     </span>
 </div>

Production

<div class="vue-notification-group" style="width: 500px; top: 0px; right: 0px;">
     <name>
         <div class="vue-notification-wrapper" style="transition: all 300ms ease 0s;" data-id="26">
             <div class="my-notificationsuccess flex pl-3 pr-4 py-2 gap-x-3">
                 <div class="flex items-center justify-center">
                     <!-- Icon here -->
                 </div>
                 <div class="flex flex-col justify-center"><!---->
                     <p class="text-sm truncate mb-0 max-w-full">Text successfully copied to clipboard.</p>
                 </div>
             </div>
         </div>
     </name>
 </div>
@kyvg
Copy link
Owner

kyvg commented Dec 18, 2023

H! I fixed it in 3.1.2 version, please update your dependency

@aqordeon
Copy link
Author

Yeah, it works well now in production. Have a nice day🙌

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