Skip to content

theme-apple-basic, intro: title & subtitle isn't centered #20

Open
@gy-mate

Description

Steps to reproduce

  1. Run:
    npm init slidev@latest
  2. Change the content of slides.md to this:
    ---
    theme: apple-basic
    layout: intro
    ---
    
    # Presentation title
    
    Presentation subtitle
    
    <div class="absolute bottom-10">
      <span class="font-700">
        Author and Date
      </span>
    </div>
    

Expected result

A correctly horizontally centered title and subtitle:

Actual result

A title and subtitle that isn't horizontally centered:

Relevant code

<template>
<div class="slidev-layout intro">
<div class="my-auto">
<slot />
</div>
</div>
</template>

cc @JeremyMeissner

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      `theme-apple-basic`, `intro`: title & subtitle isn't centered · Issue #20 · slidevjs/themes