Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bs-stepper-line above label when inside div #98

Open
medeiroshudson opened this issue Oct 14, 2019 · 2 comments
Open

bs-stepper-line above label when inside div #98

medeiroshudson opened this issue Oct 14, 2019 · 2 comments

Comments

@medeiroshudson
Copy link

I had to put some headers inside a DIV element to dynamically show/hide them. But when done, the bs-stepper-line element climbs over the label, as the picture below... Someone can help me with this CSS?

image

<div class="bs-stepper-header" role="tablist">

                    <div class="step" data-target="#escopoAnomalia">
                        <button type="button" class="step-trigger" role="tab" id="trigger1" aria-controls="test-nlf-1">
                            <span class="bs-stepper-circle">
                                <span class="fas fa-align-center" aria-hidden="true"></span>
                            </span>
                            <span class="bs-stepper-label">Escopo da Anomalia</span>
                        </button>
                    </div>

                    <div class="bs-stepper-line"></div>

                    <div class="step" data-target="#dadosAnomalia">
                        <button type="button" class="step-trigger" role="tab" id="trigger2" aria-controls="test-nlf-2">
                            <span class="bs-stepper-circle">
                                <span class="fas fa-book" aria-hidden="true"></span>
                            </span>
                            <span class="bs-stepper-label">Dados da Anomalia</span>
                        </button>
                    </div>

                    <div class="dadosAmbientais">
                        <div class="bs-stepper-line"></div>

                        <div class="step" data-target="#dadosAmbientais">
                            <button type="button" class="step-trigger" role="tab" id="trigger3" aria-controls="test-nlf-3">
                                <span class="bs-stepper-circle">
                                    <span class="fas fa-tree" aria-hidden="true"></span>
                                </span>
                                <span class="bs-stepper-label">Dados Ambientais</span>
                            </button>
                        </div>
                    </div>

                </div>
@Johann-S
Copy link
Owner

Hi @medeiroshudson,

Can you create a live demo of your problem?
You can do that via CodePen/JS Bin or Stackblitz and report back with your link.

@medeiroshudson
Copy link
Author

medeiroshudson commented Oct 15, 2019

Here is the CodePen:
https://codepen.io/medeiroshudson/pen/NWWNEKZ

In the example, bs-stepper-line dont event show when inside DIV Element... When its outside, shows like usually

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

No branches or pull requests

2 participants