Skip to content

Commit d785144

Browse files
committed
fixes
1 parent 710db37 commit d785144

File tree

11 files changed

+19
-22
lines changed

11 files changed

+19
-22
lines changed

pages/docs/manual/v10.0.0/api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Overview
1+
# Introduction
22

33
ReScript ships 3 modules in its standard library.
44

pages/docs/manual/v11.0.0/api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Overview
1+
# Introduction
22

33
## ReScript Core
44

pages/docs/manual/v12.0.0/api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Overview
1+
# Introduction
22

33
## Stdlib
44

pages/docs/manual/v8.0.0/api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Overview
1+
# Introduction
22

33
We ship 3 modules in our standard library.
44

pages/docs/manual/v9.0.0/api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Overview
1+
# Introduction
22

33
ReScript ships 3 modules in its standard library.
44

src/Blog.res

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ module FeatureCard = {
142142
}
143143
<section
144144
className="flex sm:px-4 md:px-8 lg:px-0 flex-col justify-end lg:flex-row sm:items-center h-full">
145-
<div className="w-full h-full sm:self-start md:self-auto max-h-[25.4375]rem">
145+
<div className="w-full h-full sm:self-start md:self-auto max-h-[25.4375rem]">
146146
<Link href={`/blog/${slug}`} className="relative block pt-2/3">
147147
{switch badge {
148148
| Some(badge) =>

src/components/CodeExample.res

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,15 +198,15 @@ module Toggle = {
198198
}
199199

200200
let borderColor = if selected === i {
201-
"border-[#696B7D #EDF0F2]"
201+
"border-t-[#696b7d]"
202202
} else {
203-
"border[transparent]"
203+
"border-t-[transparent]"
204204
}
205205

206206
<span
207207
key
208208
className={paddingX ++
209-
(`${borderColor} flex-none px-5 inline-block p-1 first:rounded-tl ` ++
209+
(` ${borderColor} flex-none px-5 inline-block p-1 first:rounded-tl ` ++
210210
activeClass)}
211211
onClick>
212212
{React.string(label)}
@@ -257,7 +257,7 @@ module Toggle = {
257257
<div className="relative pt-6 w-full rounded-none text-gray-80">
258258
//text within code-box
259259
<div
260-
className="absolute flex w-full font-sans bg-transparent text-14 text-gray-40 mt-[-26px] ">
260+
className="absolute flex w-full font-sans bg-transparent text-14 text-gray-40 mt-[-26px] overflow-x-auto">
261261
<div className="flex xs:ml-0"> {React.array(tabElements)} </div>
262262
<div className="flex-1 w-full bg-gray-20 border-b rounded-tr border-gray-20 items-center">
263263
buttonDiv

src/layouts/ApiOverviewLayout.res

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ module Sidebar = SidebarLayout.Sidebar
22

33
let makeCategories: string => array<Sidebar.Category.t> = version => [
44
{
5-
name: "",
5+
name: "Overview",
66
items: [
7-
{name: "Overview", href: `/docs/manual/${version}/api`},
7+
{name: "Introduction", href: `/docs/manual/${version}/api`},
88
if version >= "v12.0.0" {
99
{name: "Stdlib", href: `/docs/manual/${version}/api/stdlib`}
1010
} else {

src/layouts/LandingPageLayout.res

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -326,14 +326,7 @@ module MainUSP = {
326326
//image (right)
327327
<div className="relative mt-10 lg:mt-0">
328328
<div
329-
className="relative w-full z-2 bg-gray-90 rounded-lg flex md:mt-0 items-center justify-center rounded-lg max-w-[35rem]"
330-
// TODO(aspeddro)
331-
// style={ReactDOM.Style.make(
332-
// ~maxWidth="35rem",
333-
// ~boxShadow="0px 4px 55px 0px rgba(230,72,79,0.10)",
334-
// (),
335-
// )}
336-
>
329+
className="relative w-full z-2 bg-gray-90 flex md:mt-0 items-center justify-center rounded-lg max-w-[35rem] shadow-[0px_4px_55px_0px_rgba(230,72,79,0.10)]">
337330
media
338331
</div>
339332
<img

src/layouts/SidebarLayout.res

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,10 @@ module Sidebar = {
138138
id="sidebar"
139139
className={(
140140
isOpen ? "fixed w-full left-0 h-full z-20 min-w-320" : "hidden "
141-
) ++ " md:block md:w-48 md:-ml-4 lg:w-1/5 md:h-auto md:relative overflow-y-visible bg-white mt-28 md:mt-0"}>
141+
) ++ " md:block md:w-48 md:-ml-4 lg:w-1/5 h-auto md:relative overflow-y-visible bg-white mt-28 md:mt-0"}>
142142
<aside
143143
id="sidebar-content"
144-
className="relative top-0 px-4 w-full block md:top-[7rem] md:pt-10 md:sticky border-r border-gray-20 overflow-y-auto pb-24 h-[calc(100vh-7rem)]">
144+
className="relative top-0 px-4 w-full block md:pt-10 md:top-[7rem] md:sticky border-r border-gray-20 overflow-y-auto pb-24 h-auto max-h-[calc(100vh-7rem)]">
145145
<button
146146
onClick={evt => {
147147
ReactEvent.Mouse.preventDefault(evt)

styles/_docsearch.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@
2323
display: none !important;
2424
}
2525

26+
.DocSearch-VisuallyHiddenForAccessibility {
27+
display: none;
28+
}
29+
2630
/* Modal */
2731
/* Body modifier */
2832

0 commit comments

Comments
 (0)