okkur / syna

Highly customizable open source theme for Hugo based static websites
https://syna.okkur.org/demo/
Apache License 2.0
250 stars 134 forks source link

Fix alignment of contact fragment submit button #767

Closed mpourismaiel closed 4 years ago

mpourismaiel commented 4 years ago

What this PR does / why we need it: Fix alignment of contact fragment submit button when recaptcha is not fully loaded

Which issue this PR fixes: fixes #722

Special notes for your reviewer: I'm not sure if this will fix the issue or not. I can't test it locally but in theory it should work. I tried to check whether or not the recaptcha badge is loaded into the dom. Since flex will break when we hide the filler right after if see the recaptcha, checking a deeper element should fix the issue.

Release note:

- contact: fix alignment of contact fragment's submit button when recaptcha is not fully loaded