Skip to content

Commit 972b52f

Browse files
committed
fix: update nav, edit button and css path
1 parent 96a37e8 commit 972b52f

1 file changed

Lines changed: 10 additions & 12 deletions

File tree

docs/index.html

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
type="text/css" />
2626
<link
2727
rel="stylesheet"
28-
href="/docs/index.css"
28+
href="../index.css"
2929
array="files"
3030
object="60888216117c640e7596303f"
3131
key="src"
@@ -35,15 +35,15 @@
3535
</head>
3636

3737
<body>
38+
<!-- Navbar -->
3839
<nav
39-
class="nav display:flex align-items:center left:0px background:whitesmoke padding-top:10px padding-bottom:10px"
40+
class="width:100% display:flex align-items:center background:transparent padding-top:10px padding-bottom:10px"
4041
content_id="content"
41-
scroll="sticky-nav,hide-nav"
42-
scroll-up="10"
43-
scroll-down="10"
44-
array="files"
45-
object="60395ef42b3ac232657040fd"
46-
key="src"></nav>
42+
scroll="sticky-nav,"
43+
scroll-up="5"
44+
scroll-down="5"
45+
path="../"
46+
src="../components/navbar.html"></nav>
4747
<sidenav
4848
id="menuL"
4949
class="position:fixed top:0px left:0px overflow:hidden background:whitesmoke height:100vh width:0px width:300px@xl"
@@ -367,10 +367,8 @@ <h2 class="padding:5px_0px">Demo</h2>
367367
<button
368368
href="https://github.com/CoCreate-app/CoCreate-attributes/tree/master/docs/index.html?message=docs%3A%20describe%20your%20change..."
369369
target="_blank"
370-
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)">
371-
<i
372-
class="height:20px fill:#505050"
373-
src="/assets/svg/pencil-alt.svg"></i>
370+
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)">
371+
<i class="height:20px" src="../assets/svg/pencil-alt.svg"></i>
374372
</button>
375373
</main>
376374
<script src="https://CoCreate.app/dist/CoCreate.js"></script>

0 commit comments

Comments
 (0)