Skip to content
This repository has been archived by the owner on Jul 7, 2024. It is now read-only.

Update CSS overrides to allow for better line-length truncation inside the devices #3

Open
0aveRyan opened this issue Apr 22, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@0aveRyan
Copy link
Owner

For various alignment reasons, message bodies are getting set to fit-content, however sometimes this breaks nice sizing handled by the salesforce chat components. This hack was necessary for spacing and alignments inside the devices. This should get scoped down and tested so it at least doesn't affect the default styles without devices.

Related: picturepan2/devices.css#6 (comment)

@0aveRyan 0aveRyan added the bug Something isn't working label Apr 22, 2020
@Naephus
Copy link

Naephus commented Mar 31, 2021

Hey ! Love the extension, I'm using it on my blog.

I've seen trouble with Microsoft Edge related to fit-content tag, columns were very small (31px) and unreadable. I fixed it for now by customizing the file chatterbox-style.css with the following code :

.wp-block-chatterbox-message .slds-chat-message__text {
font-size: 16px;
}

Basically I removed the max-width: fit-content tag, and it worked.

Cheers

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants