Skip to content
This repository has been archived by the owner on Nov 28, 2019. It is now read-only.

Text in progess bar #40

Open
wordica opened this issue Aug 20, 2014 · 2 comments
Open

Text in progess bar #40

wordica opened this issue Aug 20, 2014 · 2 comments

Comments

@wordica
Copy link

wordica commented Aug 20, 2014

What I do not understand. I set display_text: 'fill' , text displayed in progress bar but just as a text without any div, so I can't use any css to custom it. What do progressbar-back-text class? When it is visible?

@minddust
Copy link
Owner

hi @efectiva

the back and front text classes / divs are used to render the centered text.
(front text blends over back text)

and true. there isn't any additional div for filled text. but is it really necessary?

<div class="progress">
     <div class="progress-bar some-class-to-apply-filled-styles">80%</div>
</div>

you could use e.g. .progress-bar for styling or apply a custom class?

best stephan

@JanJan01
Copy link

I made a custum progressbar for my company and therefore i had to give the progressbar a position: relative. After that i couldn't give the text inside a padding. So it would be best for me if you put the text for example between a span so i can give padding to the span.

greetz
Jan

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants