[ui] show raw attr in ellipsis title
parent
deac0beb05
commit
267e427a87
|
@ -1,5 +1,6 @@
|
|||
<script lang="ts">
|
||||
export let value: string;
|
||||
export let title: string | undefined = undefined;
|
||||
|
||||
$: valueStart = value.substring(0, value.length - 7).replace(" ", "\xa0");
|
||||
$: valueEnd = value
|
||||
|
@ -7,7 +8,7 @@
|
|||
.replace(" ", "\xa0");
|
||||
</script>
|
||||
|
||||
<div class="ellipsis" title={value}>
|
||||
<div class="ellipsis" title={title || value}>
|
||||
<div class="start">{valueStart}</div>
|
||||
<div class="end">{valueEnd}</div>
|
||||
</div>
|
||||
|
|
|
@ -283,6 +283,7 @@
|
|||
<td class:formatted={Boolean(formatAttribute(entry.attribute))}>
|
||||
<Ellipsis
|
||||
value={formatAttribute(entry.attribute) || entry.attribute}
|
||||
title={entry.attribute}
|
||||
/>
|
||||
</td>
|
||||
{/if}
|
||||
|
|
Loading…
Reference in New Issue