Revert 83e9705..6af3e30

This rolls back to commit 83e97050eadfa71a31e31c33c96d0bf76b87c024.
Revert "Revert 83e9705..6af3e30"

This reverts commit df792437be8bf249a83b5d618dabd70601833f6f.
Revert "Revert "Revert 83e9705..6af3e30""

This reverts commit 959a0adc203c4e42c343b5274be7aec9b76b371f.
Revert "Fix calendar losing style in some cases and switch passing through the correct element in non inline cases"

This reverts commit 83e97050eadfa71a31e31c33c96d0bf76b87c024.