wobsoriano / vue-wrap-balancer

Simple Vue Component That Makes Titles More Readable.
https://vue-wrap-balancer.vercel.app
MIT License
111 stars 1 forks source link

fix: property `style` of `<Balancer />` component is not inherited #3

Closed madebyfabian closed 1 year ago

madebyfabian commented 1 year ago

Hey there, thank you for the port! I saw this module for react and I am happy to use it in my nuxt app.

This PR fixes that you cannot use the style property of the <Balancer /> component, because it does not get inherited/merged with the styles the wrap-balancer defines.

<template>
    <Balancer :style="{ margin: '10px' }">
        Content Lorem Ipsum
    </Balancer>
</template>
vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
vue-wrap-balancer ❌ Failed (Inspect) Jan 29, 2023 at 1:11PM (UTC)
wobsoriano commented 1 year ago

Awesome, nice catch!