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

docs: fix Header UI inconsistency #16464

Merged
merged 5 commits into from Nov 17, 2022
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/src/_includes/layouts/base.html
Expand Up @@ -136,7 +136,7 @@
<script src="https://unpkg.com/anchor-js@4.3.1/anchor.min.js"></script>
</head>

<body class="{{ hook }} docs">
<body class="{{ hook }}">
<a href="#main" class="c-btn c-btn--primary" id="skip-link">Skip to main content</a>

{{ content | safe }}
Expand Down
2 changes: 2 additions & 0 deletions docs/src/assets/scss/docs-header.scss
Expand Up @@ -12,6 +12,8 @@
padding-bottom: 0;
padding-block-start: 0;
padding-block-end: 0;
max-width: 1700px;
margin: auto;

@media all and (min-width: 1024px) {
justify-content: space-between;
Expand Down
7 changes: 2 additions & 5 deletions docs/src/assets/scss/docs.scss
Expand Up @@ -4,11 +4,6 @@ html {
scroll-behavior: smooth;
}

.docs {
max-width: 1700px;
margin: 0 auto;
}

.docs-aside__content {
flex: 1;
}
Expand All @@ -18,6 +13,8 @@ html {
flex: 1;
display: flex;
flex-direction: column;
max-width: 1700px;
margin: auto;

@media all and (min-width: 1024px) {
display: grid;
Expand Down