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

Vuestic-wizard vertical has buttons aligned in separate line instead of inline #191

Closed
harishankards opened this issue May 4, 2018 · 9 comments

Comments

@harishankards
Copy link

Hi,

I'm using vuestic-wizard in a vertical manner, the navigation buttons back and confirm are aligned in separate lines instead of being it in a single line.

Please refer the below screenshot.
image

@harishankards
Copy link
Author

harishankards commented May 14, 2018

@pfrohner or @asvae, can you shed some light here? Sorry for tagging though

@asvae
Copy link
Contributor

asvae commented May 14, 2018

Screen too small, no?

Here's the one from demo. https://i.imgur.com/2ADxh9y.png

@asvae asvae added the question label May 14, 2018
@harishankards
Copy link
Author

harishankards commented May 14, 2018

@asvae, no. Mine is big screen only. When I open the inspect window in the browser, it's aligned horizontally as shown in the demo. When I close it, it changes into vertical arrangement mode.

Also,
why I'm getting the input fields having very short width like this?
image

My code is:

<vuestic-widget>
    <vuestic-wizard 
      :steps="vrSteps" 
      wizard-layout="vertical" 
      wizard-type="simple">

      <div slot="page1" class="form-wizard-tab-content">
      <div class="form-group">
        <div class="input-group">
        <input id="simple-input" required/>
        <label class="control-label" for="simple-input">First Name</label><i class="bar"></i>
        </div>
      </div> 
      <div class="form-group">
        <div class="input-group">
        <input id="simple-input" required/>
        <label class="control-label" for="simple-input">Last Name</label><i class="bar"></i>
        </div>
      </div> 
      <div class="form-group">
        <div class="input-group">
        <input id="simple-input" required/>
        <label class="control-label" for="simple-input">Username</label><i class="bar"></i>
        </div>
      </div> 
      <div class="form-group align-gender">
        <div class="input-group">
          <div class="radio abc-radio abc-radio-primary">
            <input type="radio" name="male" id="male" value="male" checked>
            <label for="male">
              <span class="abc-label-text">Male</span>
            </label>
            <input type="radio" name="female" id="female" value="female">
            <label for="female">
              <span class="abc-label-text">Female</span>
            </label>
            <input type="radio" name="others" id="others" value="others">
            <label for="others">
              <span class="abc-label-text">Others</span>
            </label>
          </div>
        </div>
      </div>
      </div>
      <div slot="page2" class="form-wizard-tab-content">
        <div class="form-group">
          <div class="input-group">
            <input id="simple-input" required/>
            <label class="control-label" for="simple-input">College Name</label><i class="bar"></i>
          </div>
        </div>
        <div class="form-group">
          <div class="input-group">
            <input id="simple-input" required/>
            <label class="control-label" for="simple-input">University</label><i class="bar"></i>
          </div>
        </div> 
      </div>
      <div slot="wizardCompleted" class="form-wizard-tab-content">
            <h4>Add slot="wizardCompleted" to your wizard's last step,
            to show this step after wizard completed!</h4>
      </div>
    </vuestic-wizard>
  </vuestic-widget>

@smartapant
Copy link
Contributor

@harishankards it seems that the width of wizard's content is way too narrow

@harishankards
Copy link
Author

Nope @smartapant , if you want I can take full page screenshot. There is nothing on the screen, other than this except sidebar. And why the input fields are having very short width? Am I doing wrong something here?
Please help

@asvae
Copy link
Contributor

asvae commented May 16, 2018

Check style block in FormWizard.vue.
You can do something similar for your page.

  .form-wizard-page {
    .form-group {
      min-width: 200px;
      max-width: 360px;
      width: 80%;
    }
  }

@harishankards
Copy link
Author

@asvae , I dont' find a file called FormWizard.vue

My version is 1.4.0

@asvae
Copy link
Contributor

asvae commented May 18, 2018

Could be form-wizard-page or something similar. Presentation component with wizards basically.

@harishankards
Copy link
Author

Yes,

It is form-wizard-tab-content and it's not helping. 😞

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

No branches or pull requests

3 participants