mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 19:46:36 +00:00
chore: use truncate mixins
This commit is contained in:
parent
b63a076059
commit
0aa38ec81a
5 changed files with 7 additions and 7 deletions
|
@ -4,8 +4,8 @@
|
|||
</script>
|
||||
|
||||
<p
|
||||
class:bx--text-truncate--end="{clamp === 'end'}"
|
||||
class:bx--text-truncate--front="{clamp === 'front'}"
|
||||
class:bx--text-truncate-end="{clamp === 'end'}"
|
||||
class:bx--text-truncate-front="{clamp === 'front'}"
|
||||
{...$$restProps}
|
||||
>
|
||||
<slot />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue