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

Bootstrap css global rule sometimes cause conflict with the email css #9727

Open
2 tasks done
tpayen opened this issue Dec 12, 2024 · 0 comments
Open
2 tasks done

Bootstrap css global rule sometimes cause conflict with the email css #9727

tpayen opened this issue Dec 12, 2024 · 0 comments

Comments

@tpayen
Copy link
Contributor

tpayen commented Dec 12, 2024

Prerequisites

  • I have searched for duplicate or closed issues
  • I can recreate the issue with all plugins disabled

Describe the issue

Hi Alec
In the boostrap.min.css there is a global rule

*, ::after, ::before {
  box-sizing: border-box;
}

so this rule also impact the display of an email.
Most of the time there no issue with this rule but sometimes with advanced communicational email, this rule broke the email content.

Maybe we could add a rule like

#messagebody *, 
#messagebody ::after, 
#messagebody ::before {
  box-sizing: initial;
}

to avoid problems like that ?

What browser(s) are you seeing the problem on?

Chrome, Edge, Firefox

What version of PHP are you using?

No response

What version of Roundcube are you using?

1.6.9

JavaScript errors

No response

PHP errors

No response

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