We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 71db5d6 + 38cf37d commit 4f19450Copy full SHA for 4f19450
src/lib/components/permissions/row.svelte
@@ -221,20 +221,26 @@
221
<Typography.Text
222
size="m"
223
color="--fgcolor-neutral-primary">
224
- {data.customName}
+ {formatName(
225
+ data.customName ?? '',
226
+ $isSmallViewport ? 20 : 28
227
+ )}
228
</Typography.Text>
229
</Layout.Stack>
230
{#if data.roleName}
231
<InteractiveText
232
isVisible
233
variant="copy"
- text={data.roleName}
234
+ text={formatName(
235
+ data.roleName,
236
237
238
value={data.roleName} />
239
{:else}
240
241
242
- text={role}
243
+ text={formatName(role, $isSmallViewport ? 20 : 28)}
244
value={role} />
245
{/if}
246
0 commit comments