Skip to content

Commit

Permalink
update docPage PageTools styling
Browse files Browse the repository at this point in the history
  • Loading branch information
tabathadelane committed May 8, 2024
1 parent f202eb1 commit 2fb0080
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/templates/docPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ const BasicDoc = ({ data, location, pageContext }) => {
<Layout.PageTools
css={css`
background: var(--primary-background-color);
gap: 0;
top: calc(var(--global-header-height) + 3rem);
&.page-tools-transition-enter {
translate: calc(var(--sidebar-width) - 50px);
Expand Down Expand Up @@ -168,6 +169,20 @@ const BasicDoc = ({ data, location, pageContext }) => {
pageTitle={title}
fileRelativePath={fileRelativePath}
issueLabels={['feedback', 'feedback-issue']}
css={css`
margin-top: 1rem;
background: var(--system-text-primary-dark);
.dark-mode && {
background: var(--erno-black);
}
a {
color: var(--primary-system-text);
font-size: 1rem;
border-radius: 3px;
border: none;
}
`}
/>
</Layout.PageTools>
</CSSTransition>
Expand Down

0 comments on commit 2fb0080

Please sign in to comment.