Skip to content

Commit 7bd752f

Browse files
committed
debugging wide mode fixes
1 parent f097197 commit 7bd752f

File tree

3 files changed

+45
-16
lines changed

3 files changed

+45
-16
lines changed

docs/custom.css

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,38 @@
11
/* Fix wide mode layout to allow content to expand into TOC area */
22

3-
/* Override the xl:w-[calc(100%-19rem)] constraint on content area */
3+
/* Override the xl:w-[calc(100%-19rem)] Tailwind constraint */
44
@media (min-width: 1280px) {
5-
html[data-page-mode="wide"] #content-area {
5+
html[data-page-mode="wide"] div#content-area,
6+
html[data-page-mode="wide"] #content-area.relative {
67
width: 100% !important;
7-
max-width: 96rem !important; /* 6xl = 1536px */
8+
max-width: 100% !important;
89
min-width: 100% !important;
910
}
11+
12+
/* Adjust padding to account for sidebar */
13+
html[data-page-mode="wide"] div#content-area {
14+
padding-right: 3rem !important;
15+
}
1016
}
1117

12-
/* Ensure the main content container uses full width in wide mode */
13-
html[data-page-mode="wide"] #content-container {
14-
max-width: 100% !important;
15-
}
16-
18+
/* Ensure the content container expands fully */
19+
html[data-page-mode="wide"] #content-container,
1720
html[data-page-mode="wide"] .mdx-content {
1821
max-width: 100% !important;
22+
width: 100% !important;
1923
}
2024

2125
/* Allow tables in wide mode to use full available width */
22-
html[data-page-mode="wide"] [data-table-wrapper="true"] {
23-
max-width: none !important;
24-
}
25-
26-
html[data-page-mode="wide"] [data-table-wrapper="true"] > div {
26+
html[data-page-mode="wide"] [data-table-wrapper="true"],
27+
html[data-page-mode="wide"] [data-table-wrapper="true"] > div,
28+
html[data-page-mode="wide"] [data-table-wrapper="true"] .table {
2729
max-width: none !important;
30+
width: 100% !important;
2831
}
2932

3033
html[data-page-mode="wide"] [data-table-wrapper="true"] table {
3134
width: 100% !important;
3235
max-width: none !important;
36+
table-layout: auto !important;
3337
}
3438

docs/docs.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@
223223
}
224224
},
225225
"styling": {
226-
"codeblocks": "system"
227-
},
228-
"customCSS": "/custom.css"
226+
"codeblocks": "system",
227+
"custom": "/custom.css"
228+
}
229229
}

docs/learning-lit/threshold-cryptography.mdx

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,31 @@ title: "Threshold Cryptography"
33
mode: "wide"
44
---
55

6+
<style>{`
7+
@media (min-width: 1280px) {
8+
html[data-page-mode="wide"] div#content-area {
9+
width: 100% !important;
10+
max-width: 100% !important;
11+
min-width: 100% !important;
12+
padding-right: 3rem !important;
13+
}
14+
}
15+
html[data-page-mode="wide"] #content-container,
16+
html[data-page-mode="wide"] .mdx-content {
17+
max-width: 100% !important;
18+
width: 100% !important;
19+
}
20+
html[data-page-mode="wide"] [data-table-wrapper="true"],
21+
html[data-page-mode="wide"] [data-table-wrapper="true"] > div {
22+
max-width: none !important;
23+
width: 100% !important;
24+
}
25+
html[data-page-mode="wide"] table {
26+
width: 100% !important;
27+
max-width: none !important;
28+
}
29+
`}</style>
30+
631
Lit Protocol supports a wide range of elliptic curves and signing schemes, all securely implemented using threshold cryptography and threshold consensus within a trusted execution environment (TEE).
732

833
## Supported Elliptic Curves and Signing Schemes

0 commit comments

Comments
 (0)