YCloudYUSA / yusaopeny_gated_content

Y USA Virtual YMCA
https://ds.ymca.org
GNU General Public License v3.0
2 stars 8 forks source link

The y_lb library will break the header styling. #98

Closed oleh-rymar closed 3 months ago

oleh-rymar commented 3 months ago

This code attaches the y_lb library to all node pages of the site where the "layout_builder__layout" field is available.`

if ($node->hasField('layout_builder__layout')) { $variables['#attached']['library'][] = 'openy_gated_content/y_lb'; .... }` Screenshot from 2024-05-24 18-35-31

As a result, the site header looks broken.

Suggested solution: Remove the fixed position from the header block.

oleh-rymar commented 3 months ago

@anpolimus Please, review.

https://github.com/YCloudYUSA/yusaopeny_gated_content/pull/99

podarok commented 3 months ago

https://github.com/YCloudYUSA/yusaopeny_gated_content/releases/tag/1.9.1