File tree Expand file tree Collapse file tree 2 files changed +17
-14
lines changed Expand file tree Collapse file tree 2 files changed +17
-14
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " @gradio/gallery " : patch
3
+ " gradio " : patch
4
+ ---
5
+
6
+ fix: Ensure gallery share button is positioned correctly
Original file line number Diff line number Diff line change 284
284
on:click ={toggle_full_screen }
285
285
/>
286
286
{/if }
287
-
287
+ {#if show_share_button }
288
+ <div class =" icon-button" >
289
+ <ShareButton
290
+ {i18n }
291
+ on:share
292
+ on:error
293
+ value ={resolved_value }
294
+ formatter ={format_gallery_for_sharing }
295
+ />
296
+ </div >
297
+ {/if }
288
298
{#if ! is_full_screen }
289
299
<IconButton
290
300
Icon ={Clear }
388
398
<ModifyUpload {i18n } on:clear ={() => (value = [])} />
389
399
</div >
390
400
{/if }
391
- <IconButtonWrapper >
392
- {#if show_share_button }
393
- <div class =" icon-button" >
394
- <ShareButton
395
- {i18n }
396
- on:share
397
- on:error
398
- value ={resolved_value }
399
- formatter ={format_gallery_for_sharing }
400
- />
401
- </div >
402
- {/if }
403
- </IconButtonWrapper >
404
401
{#each resolved_value as entry , i }
405
402
<button
406
403
class =" thumbnail-item thumbnail-lg"
You can’t perform that action at this time.
0 commit comments