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

Possible problem with layout tag CSS on blog template #588

Open
michaellenaghan opened this issue Nov 21, 2022 · 1 comment
Open

Possible problem with layout tag CSS on blog template #588

michaellenaghan opened this issue Nov 21, 2022 · 1 comment

Comments

@michaellenaghan
Copy link

The layout tags are described here.

There's an example of them in use in the Layout & typography post here.

The source for that post is here.

There's a possible problem with the layout CSS.

Some examples:

  • This should be in the left margin, but it's in the right.
  • This should be wide, but it's pushed slightly to the right, and the right edge is off the screen.
  • These should be wide, but are off centre to the right.

I checked Chrome, Edge, Firefox and Safari, all on Mac.

@davidmerfield
Copy link
Owner

davidmerfield commented Mar 20, 2023

Thanks for looking into this – this is a bug/feature with the current iteration of the blog template – I've been mulling over whether it's desirable to have both left and right margin notes – I think adding notes to only one margin is best for layout reasons (allows a larger main text width)

I think the real action I need to take here is to make a decision about margin notes and then update the layout.css file and docs for future templates

@davidmerfield davidmerfield changed the title Possible problem with layout tag CSS Possible problem with layout tag CSS on blog template Mar 20, 2023
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