Fixing CMS Image sliders when arrows are outside #2731
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
1. Why is this change necessary?
If you create an image slider or an gallery slider in the shopping experiences and set the navigation arrows to outside, you will see a part of the next and a part of the previous slide under the control arrows.
2. What does this change do, exactly?
Correcting the display of the cms image slider when the control arrows are outside. Added a bit css and a wrapper div to place the arrows at the correct position.
3. Describe each step to reproduce the issue or behaviour.
Go the the shopping experience and create a new layout. Drag and drop the image slider or the image gallery element into the layout and add a couple of images. Go to the configuration of the element and choose the outside option for the control arrows. Now take a look at the storefront and you should see the styling Issue. On the left and right side of the active slide image you see a part of the next and previous slide.
4. Please link to the relevant issues (if any).
5. Checklist