Răsfoiți Sursa

improve overlay demo

Falko Schindler 1 an în urmă
părinte
comite
47d29f66c0

+ 2 - 2
website/documentation/content/section_audiovisual_elements.py

@@ -21,9 +21,9 @@ def captions_and_overlays_demo():
     with ui.image('https://cdn.stocksnap.io/img-thumbs/960w/airplane-sky_DYPWDEEILG.jpg'):
         ui.html('''
             <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>
-        ''').classes('bg-transparent')
+        ''').classes('w-full bg-transparent')
 
 
 doc.intro(interactive_image_documentation)