Automattic / simplenote-electron

Simplenote for Web, Windows, and Linux
https://app.simplenote.com
GNU General Public License v2.0
4.69k stars 553 forks source link

Experiment with overriding the menu with css. #3188

Closed roundhill closed 1 month ago

roundhill commented 2 months ago

Enables the useShadowDOM flag, and tweaks the menu with CSS to add styling and remove the last menu item.

Screenshot 2024-04-18 at 4 54 47 PM

To Test

codebykat commented 1 month ago

Okay this was a good backup plan 🙇 buuuuut I feel like hacking the CSS is a little too fragile (and I'm not sure what other effects the removal of the shadow DOM might have later on). I managed to find a different hack that feels a tiny bit less terrible: https://github.com/Automattic/simplenote-electron/pull/3183/commits/b6e8303638eafa8b7e80c98e24a4ea8b29abc41c