Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
feat: add information for the code scrolling on mobile devices
Browse files Browse the repository at this point in the history
  • Loading branch information
peterpeterparker committed Jan 20, 2019
1 parent de79848 commit f0eac31
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,11 @@ <h1 slot="title">Or the template for charts</h1>

<deckgo-slide-code src="./assets/code/deckdeckgo-slide-code-example.txt" style="--code-margin-bottom: 6rem; --background: var(--ion-color-dark); --color: var(--ion-color-light); --code-color: var(--ion-color-light);">
<h2 slot="title">Showcase your code</h2>

<div slot="info" padding style="--deckgo-show-info-background: rgba(var(--ion-color-dark-rgb), 0.8)">
<p text-center>Tips: click on the code to switch between horizontal and vertical scroll</p>
<ion-icon name="move" style="font-size: 4rem;"></ion-icon>
</div>
</deckgo-slide-code>

<deckgo-slide-title reveal="true">
Expand Down

0 comments on commit f0eac31

Please sign in to comment.