creativetimofficial / ct-argon-dashboard-pro

A beautiful Premium Dashboard for Bootstrap 5.
https://demos.creative-tim.com/argon-dashboard-pro/pages/dashboards/landing
30 stars 13 forks source link

btn-outline-primary has a graphical bug #27

Open Whisper40 opened 4 years ago

Whisper40 commented 4 years ago

Expected Behavior

It should be displayed correctly

Current Behavior

The color of the button is not complete

Failure Information (for bugs)

image

Code

<div class="card-header" id="headingOne" data-toggle="collapse" data-target="#collapse0" aria-expanded="false" aria-controls="collapse0">
                      <h5 class="mb-0"><button type="button" class="btn btn-info">INFO</button><button type="button" class="btn btn-outline-primary">Change Log </button></h5>
                    </div>
rarestoma commented 4 years ago

Hi @Whisper40 ,

Thank you for working with our products.

I tested your code in one of the dashboard's cards and it works properly. Can you please me the full example or the page where did you try this so I can see clearly what happens?

Thank you, Rares

Whisper40 commented 4 years ago

Hello, this is the actual code : https://pastebin.com/2VezMXjQ image

Whisper40 commented 4 years ago

I have tested to add "V1" after "Change Log" in order to display "Change Log V1" and the bug doesn't appears.. Stranger Things..

rarestoma commented 4 years ago

Hi @Whisper40,

Thank you for providing us your code. I tested now at it seems to be from the 'will-change' function.

Please add these lines of code to your css:

[class*=btn-outline-] { will-change: unset; }

Please let me know if it works.

All the best, Rares

Whisper40 commented 4 years ago

I added you code to the argon.css (line 86). I cleared my cache, but the problem persists if i only put " Change Log" on the button.

If i put your code in the php page with it works !

Let me know what i'm doing wrong

rarestoma commented 4 years ago

Hi @Whisper40,

The css route point to argon.css? Can you please give me the header of your file to see the routes?

Thank you, Rares