Skip to content

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

@gy-mate

Description

@gy-mate

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

Metadata

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