Skip to content

vcenter does not work with scale #188

@lverre

Description

@lverre

When using class="vcenter" and deck.scale, the element is being crazily scaled.
For example, I have a

<div class="deck-container">
    <section class="slide" id="Title">
        <h2 class="vcenter">My Title</h2>
    </section>
    ...
</div>

The slide gets scaled by a factor of 20 in my screen (small laptop screen) and I can barely see the title at the bottom of the screen.
It seems that this is caused by the vcenter class that has "position:absolute" which causes the element's height to be 0.

Metadata

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