dakboard / Cloud-Platform

Feature requests, enhancements and anything you'd like to see in DAKboard!
https://dakboard.com
168 stars 39 forks source link

Adding css styles to <body> applies changes to the Editor on DAKBoard.com #2218

Closed Leigh-CB closed 1 month ago

Leigh-CB commented 1 month ago

When editing the custom CSS, if changes are made to to apply to the entire screen, the style change applies to the Editor page instead of the screen.

When the screen is viewed, the CSS does apply correctly. editorsCSS

Specifically, I wanted to custom Text Shadow for all elements in my Screen, so I added the CSS to the to make it apply to all items. This did work, but the effect on the editor makes it nearly unreadable! The existing "add a text shadow" check box actually seemed to do nothing on my screen, so I was looking for another way.

cocarrig commented 1 month ago

Hi @Leigh-CB,

This behavior is expected at this time, but we expect to continue to improve this in the future. Our recommendation is to NOT use BODY but instead use #screen-container-no-edit as the initial selector or a replacement for "BODY".