|
@@ -21,9 +21,9 @@ def captions_and_overlays_demo():
|
|
with ui.image('https://cdn.stocksnap.io/img-thumbs/960w/airplane-sky_DYPWDEEILG.jpg'):
|
|
with ui.image('https://cdn.stocksnap.io/img-thumbs/960w/airplane-sky_DYPWDEEILG.jpg'):
|
|
ui.html('''
|
|
ui.html('''
|
|
<svg viewBox="0 0 960 638" width="100%" height="100%" xmlns="http://www.w3.org/2000/svg">
|
|
<svg viewBox="0 0 960 638" width="100%" height="100%" xmlns="http://www.w3.org/2000/svg">
|
|
- <circle cx="445" cy="300" r="100" fill="none" stroke="red" stroke-width="20" />
|
|
|
|
|
|
+ <circle cx="445" cy="300" r="100" fill="none" stroke="red" stroke-width="10" />
|
|
</svg>
|
|
</svg>
|
|
- ''').classes('bg-transparent')
|
|
|
|
|
|
+ ''').classes('w-full bg-transparent')
|
|
|
|
|
|
|
|
|
|
doc.intro(interactive_image_documentation)
|
|
doc.intro(interactive_image_documentation)
|