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

:linenos: probably introduces styling we aren't accounting for #94

Open
bitprophet opened this issue Jan 9, 2017 · 0 comments
Open
Labels

Comments

@bitprophet
Copy link
Collaborator

bitprophet commented Jan 9, 2017

In an email, @lliendo states:

I've decided to start adding the :linenos: directive to all code blocks. It works but not exactly as I expected. When adding the :linenos: all code blocks are trimmed, this means that the code block boxes are not fully expanded.

Screenshot below; the tl;dr is simply that normal code blocks expand to fill column width but once linenos are enabled, the code block elements are only as wide as their contents.

Haven't reproduced locally yet but I'm assuming this is "just" an aesthetics issue and no content is being hidden/cut off. Either way I'm guessing the addition of :linenos: is adding a class to a nearby element whose width, etc styling is overriding whatever I or my predecessors did to the code blocks to make them full-width.

trimmed numbered code block example

@bitprophet bitprophet added the bug label Jan 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant