File tree Expand file tree Collapse file tree 3 files changed +21
-14
lines changed Expand file tree Collapse file tree 3 files changed +21
-14
lines changed Original file line number Diff line number Diff line change @@ -126,18 +126,20 @@ export default function App() {
126126 }
127127 return (
128128 < >
129- < TopNav handleChangeSettings = { handleChangeSettings } handleSearch = { handleSearch } />
130- { sendingRequest && (
131- < progress className = "progress progress-success w-full" > </ progress >
132- ) }
133- { ! sendingRequest && (
134- < progress className = "progress w-full" value = "100" > </ progress >
135- ) }
136- { error && (
137- < div className = "alert alert-error rounded-none" >
138- { error }
139- </ div >
140- ) }
129+ < div className = "sticky top-0 z-50 bg-gray-400" >
130+ < TopNav handleChangeSettings = { handleChangeSettings } handleSearch = { handleSearch } />
131+ { sendingRequest && (
132+ < progress className = "progress progress-success w-full" > </ progress >
133+ ) }
134+ { ! sendingRequest && (
135+ < progress className = "progress w-full" value = "100" > </ progress >
136+ ) }
137+ { error && (
138+ < div className = "alert alert-error rounded-none" >
139+ { error }
140+ </ div >
141+ ) }
142+ </ div >
141143 < div className = "main-grid grid grid-cols-10 gap-2" >
142144 < div className = "sidebar-wrapper col-span-3" >
143145 < div className = 'min-h-screen' >
@@ -150,10 +152,10 @@ export default function App() {
150152 < div className = "min-h-screen" >
151153 < div className = "main-grid grid grid-cols-10 gap-2" >
152154 < div className = "col-span-4 ml-5" >
153- < ApiInfo lrdDocsItem = { lrdDocsItem } method = { lrdDocsItem . http_method } />
155+ < ApiInfo lrdDocsItem = { lrdDocsItem } method = { lrdDocsItem . http_method } />
154156 </ div >
155157 < div className = "col-span-5 ml-5" >
156- < ApiAction lrdDocsItem = { lrdDocsItem } method = { lrdDocsItem . http_method } host = { host } />
158+ < ApiAction lrdDocsItem = { lrdDocsItem } method = { lrdDocsItem . http_method } host = { host } />
157159 </ div >
158160 </ div >
159161 </ div >
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ export default function Sidebar(props: Props) {
2929 ) }
3030 < li >
3131 < AnchorLink href = { '#' + lrdDocsItem . http_method + lrdDocsItem . uri }
32+ offset = { ( ) => 120 }
3233 onClick = { ( ) => {
3334 window . history . pushState ( { } , '' , '#' + lrdDocsItem . http_method + lrdDocsItem . uri ) ;
3435 } }
Original file line number Diff line number Diff line change 4646 overflow : scroll;
4747}
4848
49+ h2 [id ] {
50+ scroll-margin : 8rem ;
51+ }
52+
4953.table th .param-cell {
5054 @apply font-normal;
5155 @apply truncate;
You can’t perform that action at this time.
0 commit comments