Skip to content

Conversation

@ryangwilson
Copy link

Closes #505

docMap.json Outdated
"name": "guides/recipes",
"title": "recipes",
"type": "page",
"type": "page recipes",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don’t think this file should’ve changed.

border-radius: 5px;
box-shadow: 0 0 5px @link-color;
a.page.recipes + ul {
padding-left: 5px;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed the Recipes page and updated the docMap on this branch, so I think this can probably be removed now.

Chasen Le Hara and others added 6 commits May 9, 2019 22:48
This switches from flexbox to CSS grid for the layout of the header, sidebar, and content. This still allows the left sidebar and content to scroll independently while also fixing some scrolling issues.

Fixes #507
transition: padding-bottom @transition-speed ease;
display:-ms-grid;
display: grid;
-ms-grid-columns: 300px 1fr;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does this look like when it’s cut off?

display:-ms-grid;
display: grid;
-ms-grid-columns: 300px 1fr;
grid-template-columns: max-content 1fr;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just realized max-content isn’t supported by Edge. Maybe we should also add a rule for fit-content(50%) or something else that would work? https://developer.mozilla.org/en-US/docs/Web/CSS/fit-content

position: relative;
.sticky;
margin: 53px 0 0;
height: calc(~"100vh - 53px");// 53px header
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should use a variable wherever we have 53px

@chasenlehara chasenlehara merged commit 65fcf8c into master May 13, 2019
@chasenlehara chasenlehara deleted the i505 branch May 13, 2019 19:23
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

Successfully merging this pull request may close these issues.

Improve the sidebar’s styling

3 participants