Skip to content

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

2 participants