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

Commit f0eac31

Browse files
feat: add information for the code scrolling on mobile devices
1 parent de79848 commit f0eac31

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/index.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,11 @@ <h1 slot="title">Or the template for charts</h1>
150150

151151
<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);">
152152
<h2 slot="title">Showcase your code</h2>
153+
154+
<div slot="info" padding style="--deckgo-show-info-background: rgba(var(--ion-color-dark-rgb), 0.8)">
155+
<p text-center>Tips: click on the code to switch between horizontal and vertical scroll</p>
156+
<ion-icon name="move" style="font-size: 4rem;"></ion-icon>
157+
</div>
153158
</deckgo-slide-code>
154159

155160
<deckgo-slide-title reveal="true">

0 commit comments

Comments
 (0)