Q-tooltip scroll

  • Hello all
    I’m trying to add a tooltip to my floating button. I can do whatever I want but, with a long text the tooltip has scroolbars. How can i fit the size of the tooltip avoinding scroolbars? I tried:

    <q-tooltip content-style=“font-size: 11px;”><div style=“max-width: 400px”>{{tooltipText}}</div></q-tooltip>
    <q-tooltip content-style=“font-size: 11px; max-width: 300px” v-if=“tooltip.length > 0”>{{tooltipText}}</q-tooltip>

    but it looks like it doesn’t work. Could you help me?

  • @Cosby add content-class=“no-scroll”

  • Aw damn, didn’t try that. It works fine 🙂
    many thanks

Log in to reply