mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
fix: overflow and output component
This commit is contained in:
1 parent
c666105839
commit
aaa934c5b7
2 files changed
+5
-2
No files matched your search
@@ -9,6 +9,7 @@
|
||||
export let event: string = null;
|
||||
export let eventContext = 'click_id_tag';
|
||||
export let appendTo: Parameters<typeof tooltip>['1']['appendTo'] = undefined;
|
||||
export let fitToContent = false;
|
||||
|
||||
let content = 'Click to copy';
|
||||
|
||||
@@ -33,7 +34,6 @@
|
||||
</script>
|
||||
|
||||
<span
|
||||
style:display="inline-block"
|
||||
style:cursor="pointer"
|
||||
on:click|preventDefault={handleClick}
|
||||
on:keyup={clickOnEnter}
|
||||
|
||||
@@ -6,7 +6,10 @@
|
||||
</script>
|
||||
|
||||
<Copy {value}>
|
||||
<div class="interactive-text-output is-textarea" style:min-inline-size="0">
|
||||
<div
|
||||
class="interactive-text-output is-textarea"
|
||||
style:min-inline-size="0"
|
||||
style:display="inline-block">
|
||||
<span class="text u-line-height-1-5 u-break-all"><slot /></span>
|
||||
{#if !hideCopyIcon}
|
||||
<div class="u-flex u-cross-child-start u-gap-8">
|
||||
|
||||
Reference in new issue
Block a user