Skip to content

Commit 6bf7a40

Browse files
DC-6313 Version Requirements Updated (#7358)
* updated version requirements * updated table scroll issue
1 parent 07f21a1 commit 6bf7a40

File tree

2 files changed

+43
-27
lines changed

2 files changed

+43
-27
lines changed

content/200-orm/500-reference/400-system-requirements.mdx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,10 @@ The latest version of Prisma ORM requires the following software:
1717

1818
| Tool | Minimum required version |
1919
| :-------------------- | :----------------------- |
20-
| Node.js | 20.19.0+ |
20+
| Node.js | ^20.19.0, ^22.12.0, or ^24.0.0 |
2121
| TypeScript (optional) | 5.4+ |
2222
| Yarn (optional) | 1.19.2 |
2323

24-
25-
26-
2724
- Prisma ORM supports and tests all _Active LTS_ and _Maintenance LTS_ **Node.js** releases. [Releases that are not in these states like _Current_, and also odd-numbered versions](https://nodejs.org/en/about/releases/) probably also work, but are not recommended for production use.
2825
- **TypeScript** is only required for TypeScript users.
2926
- When using **Yarn 1**, `1.19.2` is the minimum version compatible with Prisma Client.

src/css/custom.css

Lines changed: 42 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ kbd {
413413

414414
.mdx-table {
415415
margin: 0px 0px 20px;
416-
overflow-x: scroll;
416+
overflow-x: auto;
417417
}
418418

419419
table {
@@ -523,7 +523,11 @@ hr {
523523
position: relative;
524524
}
525525

526-
.navbar__item.navbar__link:not(.logo-link):not(.navbar-login-btn):is(:hover, :focus-visible)::after { position: absolute;
526+
.navbar__item.navbar__link:not(.logo-link):not(.navbar-login-btn):is(
527+
:hover,
528+
:focus-visible
529+
)::after {
530+
position: absolute;
527531
height: 2px;
528532
width: 100%;
529533
content: "";
@@ -534,7 +538,6 @@ hr {
534538
pointer-events: none;
535539
}
536540

537-
538541
.navbar__item {
539542
padding: 8px;
540543
border-radius: 8px;
@@ -568,14 +571,14 @@ hr {
568571
border-color: var(--primary-font-color);
569572
border-style: solid;
570573
border-width: 0 0 1.5px 1.5px;
571-
content: '';
574+
content: "";
572575
height: 0.4em;
573576
width: 0.4em;
574577
display: inline-block;
575578
margin-left: 8px;
576579
position: relative;
577580
top: 50%;
578-
transform: translateY(-50%) rotate(-45deg);
581+
transform: translateY(-50%) rotate(-45deg);
579582
min-width: unset;
580583
background: transparent;
581584
filter: unset;
@@ -593,7 +596,10 @@ hr {
593596
}
594597

595598
.navbar__item.dropdown .dropdown__menu {
596-
box-shadow: 0px 18px 42px 0px #172B4D14, 0px 4px 26px 0px #172B4D0D, 0px 0px 46px 0px #172B4D03;
599+
box-shadow:
600+
0px 18px 42px 0px #172b4d14,
601+
0px 4px 26px 0px #172b4d0d,
602+
0px 0px 46px 0px #172b4d03;
597603
padding: 24px;
598604
margin-top: 32px;
599605
display: grid;
@@ -628,11 +634,13 @@ hr {
628634
align-items: center;
629635
}
630636

631-
.navbar__item.dropdown .dropdown__menu .dropdown__link > span.dropdown__table, span.dropdown__table {
637+
.navbar__item.dropdown .dropdown__menu .dropdown__link > span.dropdown__table,
638+
span.dropdown__table {
632639
display: inline-flex;
633640
flex-direction: column;
634641
}
635-
.navbar__item.dropdown .dropdown__menu .dropdown__link > span.dropdown__table > span, span.dropdown__table > span {
642+
.navbar__item.dropdown .dropdown__menu .dropdown__link > span.dropdown__table > span,
643+
span.dropdown__table > span {
636644
color: var(--tertiary-font-color);
637645
/* TEXT/Body */
638646
font-family: Inter;
@@ -642,7 +650,8 @@ hr {
642650
line-height: 140%; /* 22.4px */
643651
}
644652

645-
.navbar__item.dropdown .dropdown__menu .dropdown__link > .dropdown__icon, .dropdown__icon {
653+
.navbar__item.dropdown .dropdown__menu .dropdown__link > .dropdown__icon,
654+
.dropdown__icon {
646655
width: 48px;
647656
height: 48px;
648657
display: flex;
@@ -657,7 +666,8 @@ hr {
657666
gap: 8px;
658667
margin-left: auto;
659668
}
660-
.dropdown__link--active, .dropdown__link--active:hover {
669+
.dropdown__link--active,
670+
.dropdown__link--active:hover {
661671
color: var(--primary-font-color);
662672
}
663673

@@ -762,12 +772,14 @@ hr {
762772
.menu__link--sublist-caret:after {
763773
transform: rotate(135deg);
764774
}
765-
.navbar-sidebar__items:not(.navbar-sidebar__items--show-secondary) .menu__link--active, .navbar-sidebar__items:not(.navbar-sidebar__items--show-secondary) .menu__link:hover {
775+
.navbar-sidebar__items:not(.navbar-sidebar__items--show-secondary) .menu__link--active,
776+
.navbar-sidebar__items:not(.navbar-sidebar__items--show-secondary) .menu__link:hover {
766777
background: var(--surface-brand-grey);
767-
768778
}
769779

770-
.navbar-sidebar__items:not(.navbar-sidebar__items--show-secondary) .menu__list > li:not(:last-child){
780+
.navbar-sidebar__items:not(.navbar-sidebar__items--show-secondary)
781+
.menu__list
782+
> li:not(:last-child) {
771783
margin-bottom: 8px;
772784
}
773785
}
@@ -788,7 +800,6 @@ hr {
788800
cursor: pointer;
789801
}
790802

791-
792803
.logo-link:hover {
793804
transform: translateY(-2px);
794805
color: var(--main-font-color);
@@ -803,7 +814,7 @@ hr {
803814
transform: translateY(-50%);
804815
}
805816
.logo-link::before {
806-
content: "/"
817+
content: "/";
807818
}
808819
.logo-link:hover {
809820
transform: translateY(-60%);
@@ -812,7 +823,6 @@ hr {
812823
.navbar__items--midle {
813824
height: fit-content;
814825
}
815-
816826
}
817827

818828
.navbar__logo {
@@ -1182,7 +1192,11 @@ body:has(.navbar-sidebar--show) > div:first-of-type {
11821192
.mantine-Stack-root {
11831193
gap: 0;
11841194
}
1185-
.beta-badge, .feature-badge, .new-badge, .preview-badge, .early-access-badge {
1195+
.beta-badge,
1196+
.feature-badge,
1197+
.new-badge,
1198+
.preview-badge,
1199+
.early-access-badge {
11861200
position: relative;
11871201
}
11881202
.beta-badge::after {
@@ -1377,7 +1391,7 @@ body:has(.navbar-sidebar--show) > div:first-of-type {
13771391
}
13781392

13791393
.markdown > header {
1380-
margin-bottom: calc(var(--ifm-h1-vertical-rhythm-bottom)* var(--ifm-leading));
1394+
margin-bottom: calc(var(--ifm-h1-vertical-rhythm-bottom) * var(--ifm-leading));
13811395
}
13821396

13831397
.tech-select__single-value a {
@@ -1575,7 +1589,7 @@ article h6 {
15751589
}
15761590

15771591
.language-terminal code > .token-line {
1578-
padding: 0 0 0 calc(var(--ifm-pre-padding) * 2) !important
1592+
padding: 0 0 0 calc(var(--ifm-pre-padding) * 2) !important;
15791593
}
15801594

15811595
code {
@@ -1612,7 +1626,7 @@ pre > code {
16121626
}
16131627

16141628
@media (max-width: 996px) {
1615-
.menu__link.indigo,
1629+
.menu__link.indigo,
16161630
.menu__link.teal {
16171631
gap: 16px;
16181632
}
@@ -1830,9 +1844,14 @@ kbd.DocSearch-Commands-Key {
18301844
}
18311845

18321846
/* Make category labels with normal weight class have normal font weight and size */
1833-
.theme-doc-sidebar-item-category.sidebar-item-normal-weight > .menu__list-item-collapsible > .menu__link,
1834-
.theme-doc-sidebar-item-category .sidebar-item-normal-weight > .menu__list-item-collapsible > .menu__link {
1847+
.theme-doc-sidebar-item-category.sidebar-item-normal-weight
1848+
> .menu__list-item-collapsible
1849+
> .menu__link,
1850+
.theme-doc-sidebar-item-category
1851+
.sidebar-item-normal-weight
1852+
> .menu__list-item-collapsible
1853+
> .menu__link {
18351854
font-weight: normal !important;
18361855
font-size: 14px !important;
18371856
line-height: 1.25 !important;
1838-
}
1857+
}

0 commit comments

Comments
 (0)