ioos / sanctuarywatch

WordPress documentation and plug-ins for the National Marine Santuaries web-enabled Condition Reporting (WebCR) website sanctuarywatch.ioos.us.
MIT License
1 stars 0 forks source link

About page CSS #66

Open superjai opened 1 month ago

superjai commented 1 month ago

When entering the About page content, you'll notice the following gap for some of the fields:

Screenshot 2024-10-22 at 11 08 20 AM

It only occurs with field hints when there is a field of "editor" type. I tried to figure out the css hack to get rid of this gap, but I couldn't quite get it. Any chance you could take a look? I can implement the CSS on my end, I just need to know what to implement.

skanda-vasishta commented 6 days ago

@superjai fixed, maybe you can try it out as well?

image

disable the clear: both field

skanda-vasishta commented 6 days ago

@superjai fixed, maybe you can try it out as well?

image disable the clear: both field

image

this is what that looks like

skanda-vasishta commented 6 days ago

wp-about_contact_info-editor-container

^ selector

document.querySelector("#wp-about_contact_info-editor-container").clear = 'None' ---> fix thru JS (works in console at least)