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

Outlook web dark mode email layout fix #45024

Conversation

0x1stvan
Copy link
Contributor

In the web version of outlook (outlook.office.com) there is a visible border inside the email template layout when dark mode is enabled, this small change will hide this border, since outlook comments out the style tag, it only works with inline code.

The change working in version: 9.x and 8.x, older versions not tested.

Email layout in dark mode outlook web:
laravel_outlook_web_dark_email_layout

Email layout in dark mode outlook web (fixed)
laravel_outlook_web_dark_email_layout_fixed

@0x1stvan
Copy link
Contributor Author

Outlook web comments out the style tag, but the selectors still working, so adding the bellow code will work like the inline CSS.

td.body {
border: hidden !important;
}

@taylorotwell taylorotwell merged commit 2737562 into laravel:9.x Nov 19, 2022
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

Successfully merging this pull request may close these issues.

None yet

2 participants