Skip to content

Commit 5b6cad4

Browse files
committed
fix: update nav, edit button and css path
1 parent 488951a commit 5b6cad4

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

docs/index.html

+10-12
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
type="text/css" />
2929
<link
3030
rel="stylesheet"
31-
href="/docs/index.css"
31+
href="../index.css"
3232
array="files"
3333
object="60888216117c640e7596303f"
3434
key="src"
@@ -38,15 +38,15 @@
3838
</head>
3939

4040
<body>
41+
<!-- Navbar -->
4142
<nav
42-
class="nav display:flex align-items:center left:0px background:whitesmoke padding-top:10px padding-bottom:10px"
43+
class="width:100% display:flex align-items:center background:transparent padding-top:10px padding-bottom:10px"
4344
content_id="content"
44-
scroll="sticky-nav,hide-nav"
45-
scroll-up="10"
46-
scroll-down="10"
47-
array="files"
48-
object="60395ef42b3ac232657040fd"
49-
key="src"></nav>
45+
scroll="sticky-nav,"
46+
scroll-up="5"
47+
scroll-down="5"
48+
path="../"
49+
src="../components/navbar.html"></nav>
5050
<sidenav
5151
id="menuL"
5252
class="position:fixed top:0px left:0px overflow:hidden background:whitesmoke height:100vh width:0px width:300px@xl"
@@ -566,10 +566,8 @@ <h2 class="padding:5px_0px">Demo</h2>
566566
<button
567567
href="https://github.com/CoCreate-app/CoCreate-render/tree/master/docs/index.html?message=docs%3A%20describe%20your%20change..."
568568
target="_blank"
569-
class="position:fixed bottom:15px right:15px padding:15px background:dodgerblue color:#fff font-size:1.5rem grow-hover border-radius:50% border-width:0 box-shadow:0px_2px_10px_0px_rgba(0,_0,_0,_0.4)">
570-
<i
571-
class="height:20px fill:#505050"
572-
src="/assets/svg/pencil-alt.svg"></i>
569+
class="display:flex justify-content:center align-items:center position:fixed bottom:15px right:15px height:50px width:50px border-radius:50% box-shadow:0px_2px_10px_0px_rgba(0,_0,_0,_0.4)">
570+
<i class="height:20px" src="../assets/svg/pencil-alt.svg"></i>
573571
</button>
574572
</main>
575573

0 commit comments

Comments
 (0)