File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 5252< body id ="root " class ="safe-h-screen ">
5353 {% include "theme-switch.html" %}
5454
55- < div class ="flex h-[100%] ">
55+ < div class ="flex h-[100%] " id =" portal " >
5656 < div class ="left-bar pl-3 hidden md:block h-[100%] shadow-md dark:shadow-xl " id ="left-bar ">
5757 < div class ="flex flex-row ">
5858 < div class ="flex flex-col justify-center ">
7777 </ div >
7878
7979 < section class ="section ">
80- < div class ="mt-5 mx-5 " id =" portal " >
80+ < div class ="mt-5 mx-5 ">
8181 < div class ="flex flex-col gap-5 border-b-2 border-lightborder dark:border-darkborder pb-2 mb-3 ">
8282 < div class ="flex flex-col-reverse gap-5 md:flex-row justify-between ">
8383 < div > {% block header %}{% endblock %}</ div >
136136
137137 const doc = parser . parseFromString ( await fetched . text ( ) , "text/html" ) ;
138138
139- const content = doc . getElementById ( "root " ) ;
139+ const content = doc . getElementById ( "portal " ) ;
140140
141141 if ( pre ) preFetched [ link ] = content ;
142142 return content ;
145145 const buttonInterceptor = async ( ev ) => {
146146 ev . preventDefault ( ) ;
147147
148- const portal = document . getElementById ( "root " ) ;
148+ const portal = document . getElementById ( "portal " ) ;
149149 const potentialFetch = preFetched [ ev . target . href ] ;
150150
151151 if ( potentialFetch ) {
You can’t perform that action at this time.
0 commit comments