Skip to content

Nesting two levels == unwanted low opacity on active element #70

Closed
@imakewebthings

Description

This is a bug in the theme CSS. Given this HTML:

<section class="slide">
  <div class="slide">
    <h2>First Level</h2>
    <p class="slide">Second Level 1</p>
    <p class="slide">Second Level 2</p>
    <p class="slide">Second Level 3</p>
  </div>
</section>

"First Level" comes in fine. On moving to "Second Level 1" the text for "First Level" is lowered in opacity as expected, but so are all of its Second Level children even though they are active.

I suspect all that needs to happen is that any nested slides with the deck-child-current class need their opacity set to 1.0, overriding the 0.4 opacity on before/prev nested slides.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions