tvst / st-annotated-text

A simple component to display annotated text in Streamlit apps.
Apache License 2.0
525 stars 41 forks source link

Update util.py #26

Closed alexespencer closed 2 years ago

alexespencer commented 2 years ago

For where label = "": Remove padding around label if "" is sent in (unlikely anyone wants it). Optionally - use None for no padding and "" for padding?

Resolves #25

alexespencer commented 2 years ago

This ends up not colouring the label. I'll work on a better version!