Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
server
team-presentation
Commits
7ae18c6b
Commit
7ae18c6b
authored
May 18, 2017
by
Hakim El Hattab
Browse files
'no notes on this slide' placeholder
parent
052a3f0c
Changes
3
Hide whitespace changes
Inline
Side-by-side
css/reveal.css
View file @
7ae18c6b
...
...
@@ -1483,6 +1483,11 @@ body {
text-align
:
left
;
font-family
:
Helvetica
,
sans-serif
;
-webkit-overflow-scrolling
:
touch
;
}
.reveal
.speaker-notes
.notes-placeholder
{
color
:
#ccc
;
font-style
:
italic
;
}
.reveal
.speaker-notes
:focus
{
outline
:
none
;
}
.reveal
.speaker-notes
:before
{
content
:
'Speaker notes'
;
display
:
block
;
...
...
css/reveal.scss
View file @
7ae18c6b
...
...
@@ -1612,6 +1612,15 @@ $controlsArrowAngleActive: 36deg;
font-family
:
Helvetica
,
sans-serif
;
-webkit-overflow-scrolling
:
touch
;
.notes-placeholder
{
color
:
#ccc
;
font-style
:
italic
;
}
&
:focus
{
outline
:
none
;
}
&
:before
{
content
:
'Speaker notes'
;
display
:
block
;
...
...
@@ -1620,6 +1629,7 @@ $controlsArrowAngleActive: 36deg;
}
}
.reveal.show-notes
{
max-width
:
75vw
;
overflow
:
visible
;
...
...
js/reveal.js
View file @
7ae18c6b
...
...
@@ -2788,7 +2788,7 @@
if
(
config
.
showNotes
&&
dom
.
speakerNotes
&&
currentSlide
&&
!
isPrintingPDF
()
)
{
dom
.
speakerNotes
.
innerHTML
=
getSlideNotes
()
||
''
;
dom
.
speakerNotes
.
innerHTML
=
getSlideNotes
()
||
'
<span class="notes-placeholder">No notes on this slide.</span>
'
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment