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

Status widget chat CSS issue on Chrome based browser #1733

Closed
PeopleInside opened this issue Jan 21, 2022 · 2 comments
Closed

Status widget chat CSS issue on Chrome based browser #1733

PeopleInside opened this issue Jan 21, 2022 · 2 comments
Labels

Comments

@PeopleInside
Copy link
Collaborator

PeopleInside commented Jan 21, 2022

  1. I was able to reproduce the issue on my website and on live helper chat website.
  2. I was also able to resolve the issue.

Opening https://livehelperchat.com/ from a Firefox browser show the live widget correctly:
correct lhc firefox

Opening https://livehelperchat.com/ from a Chrome based browser (I tested with Edge) showed a bold widget that is too much illumined by a white light.

The issue is caused by the following CSS:

#lhc_status_container #status-icon {
background-color: #0c8fc4;
border: 2px solid #e3e3e3;
-webkit-border-radius: 47px;
-moz-border-radius: 47px;
border-radius: 47px;
-webkit-box-shadow: 0 0 17px rgba(50,50,50,0.5);
-moz-box-shadow: 0 0 17px rgba(50,50,50,0.5);
box-shadow: 0 0 17px rgba(50,50,50,0.5);
text-decoration: none;
height: 38px;
width: 38px;
font-weight: bold;
color: #FFF;
display: block;
padding: 12px;
font-size: 38px;
cursor: pointer;
}

wrong lhc chrome

If this CSS is removed or set as

#lhc_status_container #status-icon {
font-weight: initial !important;
}

the issue seems resolved.

lhc widgetissuebold

Widget difference GIF:

lhc widget animation

@PeopleInside
Copy link
Collaborator Author

#lhc_status_container #status-icon {
font-weight: initial !important;
}

The following CSS affect also Firefox and don't create a great visual... because remove the light low effect on Firefox that is showed too much lighter on Chrome.

Maybe is better open a webcompact issue for report that the same components never work same on two different browser.
Closing this issue.

@PeopleInside
Copy link
Collaborator Author

A recent update remove the font-weight: bold; from #lhc_status_container #status-icon {
This has made because on Chrome the live helper chat icon is not showed very nicely but for this issue a Chrome investigation bug is open and is currently in the investigation status.

For now so the CSS to bold font-weight has been removed to avoid this kind of bug but, in the future, maybe when the Chrome bug will have a more details or fox, we may want reintroduce the nice effect that was working well in Firefox.

The CSS removal for Chrome has effect also for Firefox and all browsers.
Below just an animation on how is the difference in Firefox if the removed CSS is present or not.
Just a reminder for the future to maybe reintroduce this when Chrome will have a fix.

LHCbefandnow

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

No branches or pull requests

1 participant