File tree 3 files changed +19
-35
lines changed
3 files changed +19
-35
lines changed Original file line number Diff line number Diff line change 198
198
.empty-wrap {
199
199
pointer-events : none ;
200
200
}
201
- .icon-button {
201
+
202
+
203
+ .icon-buttons {
204
+ display : flex ;
202
205
position : absolute ;
203
- top : 0px ;
204
- right : 0px ;
205
- z-index : var (--layer-1 );
206
- }
207
-
208
- .icon-buttons {
209
- display : flex ;
210
- position : absolute ;
211
- right : 34px ;
212
- z-index : var (--layer-2 );
213
- top : 8px ;
214
- }
215
-
216
- .icon-buttons .download-button-container {
217
- margin : var (--size-1 ) 0 ;
218
- }
206
+ right : 8px ;
207
+ z-index : var (--layer-top );
208
+ top : 8px ;
209
+ }
210
+
211
+
219
212
</style >
Original file line number Diff line number Diff line change 73
73
.hidden {
74
74
opacity : 0 ;
75
75
}
76
- .icon-button {
77
- position : absolute ;
78
- top : 0px ;
79
- right : 0px ;
80
- z-index : var (--layer-1 );
81
- }
82
-
83
- .icon-buttons {
84
- display : flex ;
85
- position : absolute ;
86
- right : 6px ;
87
- z-index : var (--layer-1 );
88
- top : 6px ;
89
- }
76
+
90
77
91
- .icon-buttons .download-button-container {
92
- margin : var (--size-1 ) 0 ;
93
- }
78
+ .icon-buttons {
79
+ display : flex ;
80
+ position : absolute ;
81
+ right : 8px ;
82
+ z-index : var (--layer-top );
83
+ top : 8px ;
84
+ }
94
85
</style >
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ build-backend = "hatchling.build"
8
8
9
9
[project ]
10
10
name = " gradio_imageslider"
11
- version = " 0.0.19 "
11
+ version = " 0.0.20 "
12
12
13
13
description = """
14
14
A Gradio component for comparing two images.
You can’t perform that action at this time.
0 commit comments