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

Allow any kind of increment of measure in layout. #58

Open
Mihari opened this issue May 23, 2016 · 2 comments
Open

Allow any kind of increment of measure in layout. #58

Mihari opened this issue May 23, 2016 · 2 comments

Comments

@Mihari
Copy link

Mihari commented May 23, 2016

As the title suggests, it would be nice if the customizer allowed for any type of measurement instead of just the hard-coded pixels. Perfect example would be if you wanted the max-width of the content to be 100%. You can't set that for a nice fluid layout because it won't take the percent sign. Also, maybe a conditional can be used if only a raw integer is entered so it would fall back to pixels.

@mgsisk
Copy link
Owner

mgsisk commented May 23, 2016

This sounds like a good idea, but… I'm not sure I understand the example. Inkblot is naturally fluid; unless you specify a Minimum Width or Maximum Width (or both) it will expand and contract to fill the viewport. Do you have a more specific example you could share?

The Content Width customization is actually something entirely different, and – as far as I can tell – can only be specified in pixels. A possible temporary solution would be to specify a really big Content Width, which Inkblot should then naturally contain. Inkblot doesn't actually handle certain embeds (e.g. YouTube videos) as well as it could, however, so YMMV as to how well that works right now.

@Mihari
Copy link
Author

Mihari commented May 23, 2016

I was largely speaking to that of the min and max mid width of the page, not the content. Sorry for the confusion there. An exmaple, where in the case we want the site as a whole to be a full width page, then the content within as you said will scale as normal.

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