Skip to content

Commit

Permalink
fix: docs home page style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
timwessman committed Nov 21, 2024
1 parent ebd9d55 commit 20f3555
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion site/src/components/LinkboxList.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
column-gap: var(--spacing-layout-xs);
display: grid;
grid-template-columns: repeat(auto-fit, minmax(216px, 1fr));
margin-top: var(--spacing-layout-m);
margin-top: var(--spacing-layout-m) !important;
row-gap: var(--spacing-layout-xs);
width: 100%;
}
Expand Down
1 change: 1 addition & 0 deletions site/src/components/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ const Layout = ({ location, children, pageContext }) => {
{versions.map((itemVersion, index) => (
<Header.ActionBarSubItem
label={`Version ${itemVersion}`}
key={`Version ${itemVersion}`}
selected={itemVersion === versionNumber}
href={index > 0
? hrefWithVersion(locationWithoutVersion, `release-${itemVersion}`)
Expand Down
2 changes: 1 addition & 1 deletion site/src/components/layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ body {

.front-page-link-list {
box-sizing: border-box;
margin: 0 0 var(--spacing-layout-xl);
margin: var(--spacing-layout-m) 0 var(--spacing-layout-xl) 0;
padding: 0 2px;

@include x-large-and-above-screen {
Expand Down
2 changes: 1 addition & 1 deletion site/src/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import FrontPageLinksList from '../components/FrontPageLinkList';
>Getting started</Button>
</Hero>

<Container style={{ margin: '0 auto var(--spacing-layout-l)' }}>
<Container style={{ margin: 'var(--spacing-layout-m) auto var(--spacing-layout-l) auto' }}>
<FrontPageLinksList />
<Image
size="M"
Expand Down

0 comments on commit 20f3555

Please sign in to comment.