fix: overflow and output component

This commit is contained in:
Torsten Dittmann committed 2023-03-23 16:05:21 +01:00
1 parent c666105839
commit aaa934c5b7
2 files changed
+5 -2

No files matched your search

+1 -1
View File
@@ -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}
+4 -1
View File
@@ -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">