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

Width of Popups #4

Open
TorHou opened this issue Mar 17, 2016 · 0 comments
Open

Width of Popups #4

TorHou opened this issue Mar 17, 2016 · 0 comments

Comments

@TorHou
Copy link
Collaborator

TorHou commented Mar 17, 2016

One issue that has come up with @thaze's tours is the problem that you can't widen the popups. you can make them smaller with:

  template: "<div class='popover tour' style='width=10px;'>
   <div class='arrow'></div>
    <h3 class='popover-title'></h3>
    <div class='popover-content'></div>
    <div class='popover-navigation'>
       <button class='btn btn-default' data-role='prev'>« Prev</button>
        <span data-role='separator'>|</span>
        <button class='btn btn-default' data-role='next'>Next »</button>
    </div>
    <button class='btn btn-default' data-role='end'>End tour</button>
    </nav>
  </div>",

But these popover-tour container is probably contained in another <div> which fixes the width to a maximum size.

...one could change the size of that parent <div/> to something big and then adapt the size of each step via "template: ..." but that's just cumbersome.

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

1 participant