@primer/doctocat-nextjs 0.0.0-20250619124140 → 0.0.0-20250619152538

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,16 +1,16 @@
1
1
  # @primer/doctocat-nextjs
2
2
 
3
- ## 0.0.0-20250619124140
3
+ ## 0.0.0-20250619152538
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - Fake entry to force publishing
8
8
 
9
- ## 0.0.0-20250619124139
9
+ ## 0.0.0-20250619152536
10
10
 
11
11
  ### Patch Changes
12
12
 
13
- - [`c5542e9`](https://github.com/primer/doctocat-nextjs/commit/c5542e915dc0fbe6e054e8fde96f7136498b9cc7) Thanks [@rezrah](https://github.com/rezrah)! - Fix lack of `basePath` support on index cards. `href` now prepends the `basePath`.
13
+ - [#43](https://github.com/primer/doctocat-nextjs/pull/43) [`1b15bdf`](https://github.com/primer/doctocat-nextjs/commit/1b15bdfcf4b54996f38d20f1da711def23c636bd) Thanks [@rezrah](https://github.com/rezrah)! - Fix lack of `basePath` support on index cards. `href` now prepends the `basePath`.
14
14
 
15
15
  ## 0.5.2
16
16
 
@@ -1,5 +1,7 @@
1
1
  .Article {
2
2
  display: grid;
3
+ grid-template-areas: 'main aside';
4
+ grid-template-columns: 1fr 200px;
3
5
  }
4
6
 
5
7
  .Article--withToc {
@@ -7,36 +9,28 @@
7
9
  }
8
10
 
9
11
  .main {
10
- order: 1;
12
+ grid-area: main;
13
+ max-width: 100%;
14
+ overflow: hidden;
11
15
  }
12
16
 
13
17
  .aside {
14
- order: 0;
18
+ grid-area: aside;
19
+ position: relative;
15
20
  }
16
21
 
17
- @media screen and (max-width: 48rem) {
22
+ @media screen and (max-width: 1023px) {
18
23
  .Article--withToc {
19
- display: flex; /* Prevents column overflow */
20
- flex-direction: column;
21
- }
22
- }
23
-
24
- @media screen and (min-width: 1023px) {
25
- .main {
26
- order: 0;
27
- }
28
-
29
- .aside {
30
- order: 1;
31
- }
32
-
33
- .Article--withToc {
34
- grid-template-columns: 1fr 200px;
24
+ grid-template-areas:
25
+ 'aside'
26
+ 'main';
27
+ grid-template-columns: 1fr;
35
28
  }
36
29
  }
37
30
 
38
31
  @media screen and (min-width: 2048px) {
39
32
  .Article--withToc {
33
+ grid-template-areas: 'main';
40
34
  grid-template-columns: 1fr;
41
35
  }
42
36
  }
@@ -26,7 +26,6 @@
26
26
  display: flex;
27
27
  flex-direction: column;
28
28
  min-width: 280px;
29
- right: 0;
30
29
  overflow: auto;
31
30
  padding: var(--base-size-40) var(--base-size-40) var(--base-size-40) 0;
32
31
  top: 65px;
package/css/global.css CHANGED
@@ -18,7 +18,7 @@ body {
18
18
  margin-block-start: 0 !important;
19
19
  }
20
20
 
21
- pre {
21
+ .nextra-code pre {
22
22
  background-color: var(--brand-color-canvas-subtle);
23
23
  border-radius: var(--brand-borderRadius-large);
24
24
  padding-top: 1rem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/doctocat-nextjs",
3
- "version": "0.0.0-20250619124140",
3
+ "version": "0.0.0-20250619152538",
4
4
  "description": "A Next.js theme for building Primer documentation sites",
5
5
  "main": "index.js",
6
6
  "type": "module",