File tree Expand file tree Collapse file tree 3 files changed +20
-4
lines changed Expand file tree Collapse file tree 3 files changed +20
-4
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " @gradio/app " : patch
3
+ " @gradio/gallery " : patch
4
+ " gradio " : patch
5
+ ---
6
+
7
+ fix: Fix ` Gallery ` preview overlay and backdrop
Original file line number Diff line number Diff line change 867
867
868
868
.backdrop {
869
869
flex : 1 1 0% ;
870
+ -webkit-backdrop-filter : blur (4px );
870
871
backdrop-filter : blur (4px );
871
872
}
872
873
Original file line number Diff line number Diff line change 338
338
.preview {
339
339
display : flex;
340
340
position : absolute;
341
- top : 0 px ;
342
- right : 0 px ;
343
- bottom : 0 px ;
344
- left : 0 px ;
345
341
flex-direction : column;
346
342
z-index : var (--layer-2 );
343
+ border-radius : calc (var (--block-radius ) - var (--block-border-width ));
344
+ -webkit-backdrop-filter : blur (8 px );
347
345
backdrop-filter : blur (8 px );
346
+ width : var (--size-full );
347
+ height : var (--size-full );
348
+ }
349
+
350
+ .preview::before {
351
+ content : "" ;
352
+ position : absolute;
353
+ z-index : var (--layer-below );
348
354
background : var (--background-fill-primary );
355
+ opacity : 0.9 ;
356
+ width : var (--size-full );
349
357
height : var (--size-full );
350
358
}
351
359
You can’t perform that action at this time.
0 commit comments