nuxt-ui-pro/dashboard

truncate UserDropdown

IgorKha opened this issue · 1 comments

this not work:

<p class="truncate font-medium text-gray-900 dark:text-white">

Screenshot 2024-05-17 at 16 20 13

but this work it:

<template #account>
      <div class="truncate text-left">
        <p>
          Signed in as
        </p>
        <p class="truncate font-medium text-gray-900 dark:text-white">
          ben@nuxtlabs.com
        </p>
     </div>
</template>
Screenshot 2024-05-17 at 16 27 11

You can try setting min-w-0 instead of truncate on the wrapper div.