adaptlearning / adapt-contrib-narrative

A component that displays an image gallery with accompanying text
GNU General Public License v3.0
5 stars 39 forks source link

_hasNavigationInTextArea indicators inherit width from default display #291

Closed kirsty-hames closed 6 months ago

kirsty-hames commented 6 months ago

Subject of the issue

When _hasNavigationInTextArea display is enabled, the .narrative__indicators inherit width from the default Narrative display (60% image / 40% text). This width: 60% isn't required for this layout.

This is a minor issue, but you'll see from the screen shot below the .narrative__indicators and .narrative__controls don't span the full width of their container. Leaving space either side so the controls don't align with the content below.

indicators_inherited_width

Expected behaviour

As per the screen shot below, set .narrative__indicators to width: 100%.

indicators_full_width