Yoad22 commited on
Commit
ec7a398
·
verified ·
1 Parent(s): 9e14c54

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py CHANGED
@@ -524,6 +524,14 @@ body { overflow-x: hidden !important; }
524
  .blob-2 { width: 200px; height: 200px; background: var(--coral); bottom: -110px; left: -80px; opacity: 0.85; }
525
 
526
  .poster-shell > * { position: relative; z-index: 1; }
 
 
 
 
 
 
 
 
527
 
528
  .brand-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
529
  .brand-word {
 
524
  .blob-2 { width: 200px; height: 200px; background: var(--coral); bottom: -110px; left: -80px; opacity: 0.85; }
525
 
526
  .poster-shell > * { position: relative; z-index: 1; }
527
+ /* Exception: the very first child is the gr.HTML block holding the two decorative blobs -
528
+ Gradio wraps that call in its own auto-generated ".prose" div, which has no real content
529
+ of its own (both its children are position:absolute). Left subject to the rule above, that
530
+ wrapper becomes a new positioning root for the blobs and collapses to near-zero height,
531
+ which drags both blobs into a thin sliver at the top of the page. Excluding just this
532
+ first child keeps it out of the flow entirely so the blobs stay positioned against
533
+ .poster-shell itself, where they were always meant to sit. */
534
+ .poster-shell > *:first-child { position: static !important; z-index: auto !important; }
535
 
536
  .brand-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
537
  .brand-word {