- Issue created by @dinerrr
- Merge request !46Issue #3519022: Fixed the spacing issue for Gallery component. → (Open) created by Tirupati_Singh
- 🇮🇳India Tirupati_Singh
Hi @dinerrr, I was able to replicate the issue. The extra spacing at the top was appearing due to the margin-top set at the class "d-p-gallery__items". The intention was to add some spacing between the "Main title" or "Gallery description" field added in the Gallery component; however, the margin was still added if the component does not have content in the fields "Main title" or "Gallery description".
I've fixed the spacing issue. Now, the "d-p-gallery__items" will have a margin at the top only when the component has content in the fields "Main title" or "Gallery description," and no margin at the top when there is no "Main title" or "Gallery description" added in the component. I'm attaching screenshots of the before and after fixes for the issue for reference. Please review the MR changes.
Thanks!