The Banner paragraph type's Title field is not required. When the field is left empty, there is an empty div with some bottom margin in the output.
Tested on version 1.8.0
Reason
The banner paragraph template passes the title as the field render array, that is not null when the field is empty (contains cache metadata for example).
Proposed solution
If the Title field is empty, null should be passed as pattern title. This can be achieved by using field_value filter.
Problem
The Banner paragraph type's Title field is not required. When the field is left empty, there is an empty div with some bottom margin in the output.
Tested on version 1.8.0
Reason
The banner paragraph template passes the title as the field render array, that is not null when the field is empty (contains cache metadata for example).
Proposed solution
If the Title field is empty, null should be passed as pattern title. This can be achieved by using
field_value
filter.