Skip to content

Commit 6a711f0

Browse files
committed
Updates to SeleniumBase Presenter
1 parent f7a20dd commit 6a711f0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

seleniumbase/fixtures/base_case.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3515,9 +3515,9 @@ def create_presentation(
35153515
'<link rel="stylesheet" href="%s">\n'
35163516
'<style>\n'
35173517
'pre{background-color:#fbe8d4;border-radius:8px;}\n'
3518-
'div[flex_div]{height:75vh;margin:0;align-items:center;'
3518+
'div[flex_div]{height:68vh;margin:0;align-items:center;'
35193519
'justify-content:center;}\n'
3520-
'img[rounded]{border-radius:16px;max-width:82%%;}\n'
3520+
'img[rounded]{border-radius:16px;max-width:64%%;}\n'
35213521
'</style>\n'
35223522
'</head>\n\n'
35233523
'<body>\n'
@@ -3578,7 +3578,7 @@ def add_slide(self, content=None, image=None, code=None, iframe=None,
35783578
'\n<section data-transition="%s">%s%s' % (
35793579
transition, add_line, content))
35803580
if image:
3581-
html += '\n<div flex_div><img rounded src="%s"></div>' % image
3581+
html += '\n<div flex_div><img rounded src="%s" /></div>' % image
35823582
if code:
35833583
html += '\n<div></div>'
35843584
html += '\n<pre class="prettyprint">\n%s</pre>' % code
@@ -3640,7 +3640,7 @@ def save_presentation(
36403640
'<script src="%s"></script>\n'
36413641
'<script src="%s"></script>\n'
36423642
'<script>Reveal.initialize('
3643-
'{showNotes: %s, slideNumber: true, '
3643+
'{showNotes: %s, slideNumber: true, hash: false, '
36443644
'autoSlide: %s,});'
36453645
'</script>\n'
36463646
'</body>\n'

0 commit comments

Comments
 (0)