VtEcostudies / VAL_Data_Explorers

Other
1 stars 1 forks source link

Styling conflicts #13

Open MortenHofft opened 2 years ago

MortenHofft commented 2 years ago

I'm not sure where it happens, I have looked but couldn't find the cause. And I've really tried! But something in the css collide so that the checkboxes and labels do not align. If it is "unreasonable" global styling, then it should be fixed in the site css. If it is caused by a standard reset or such, then the data widget should me specific. Either way it is hard to fix it before understanding where it happens.

If you are able to diagnose it, then please tell me what the cause is, then I can help fix it.

Looks like

Screenshot 2022-09-08 at 10 25 43

should look like

Screenshot 2022-09-08 at 10 25 57
MortenHofft commented 2 years ago

I'm afraid to admit that it took me hours of debugging, but the reason for this looks to be https://github.com/VtEcostudies/VAL_GBIF_Wordpress/issues/15

It is an invalid html document, and apparently that leads to all sorts of unexpected behaviour. At least I can replicate it locally by having invalid html and fix it by simply moving the scripts inside the header.

MortenHofft commented 2 years ago

Reopening as we should better confirm that fixing #15 will indeed fix this as well