| From: | Dave Page <dpage(at)pgadmin(dot)org> |
|---|---|
| To: | PostgreSQL WWW <pgsql-www(at)lists(dot)postgresql(dot)org> |
| Subject: | News review in dark mode |
| Date: | 2025-11-26 11:20:25 |
| Message-ID: | CA+OCxozbC8_=C6iky5bpHc1fGgH417TwpJqJHjQivZ2uWEtOiw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-www |
It's bugged me for ages that the news preview in dark mode has been broken
forever. Here's a patch to fix that, along with before/after screenshots.
Note that it does change more than just styles; it now uses an iframe and a
hidden text area to properly isolate the styles from the email template and
stop them leaking into the main page content.
--
Dave Page
pgAdmin: https://www.pgadmin.org
PostgreSQL: https://www.postgresql.org
pgEdge: https://www.pgedge.com
| Attachment | Content-Type | Size |
|---|---|---|
| before-dark-mode.png | image/png | 325.4 KB |
| after-light-mode.png | image/png | 335.3 KB |
| before-light-mode.png | image/png | 282.7 KB |
| after-dark-mode.png | image/png | 337.5 KB |
| news_preview_dark_mode_v1.diff | application/octet-stream | 3.0 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Álvaro Herrera | 2025-11-26 14:50:06 | Re: News review in dark mode |
| Previous Message | Dave Page | 2025-11-26 10:40:07 | Button alignment on hamburger menu |