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

Responsive Container #4

Open
ivanvanderbyl opened this issue Jun 12, 2017 · 0 comments
Open

Responsive Container #4

ivanvanderbyl opened this issue Jun 12, 2017 · 0 comments

Comments

@ivanvanderbyl
Copy link
Member

We currently do some auto resize handling on the main primer-plot, however, this is not always what you want, so instead, we should support different container components, either by name or direct implementation.

  1. A basic or static container which accepts width and height attrs directly to specify size.
  2. A responsive container, which automatically fills width=100% and height=auto.
    2.1. Optionally specify an aspect ratio to maintain.
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

1 participant