Skip to content

Commit 1487af1

Browse files
committed
fix: update nav, edit button and css path
1 parent a38429a commit 1487af1

File tree

3 files changed

+13
-17
lines changed

3 files changed

+13
-17
lines changed

demo/atomic-css.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
content="https://cdn.cocreate.app/docs/css-parser.png" />
2323
<link
2424
rel="stylesheet"
25-
href="/docs/index.css"
25+
href="../index.css"
2626
array="files"
2727
object="60888216117c640e7596303f"
2828
key="src"

demo/test.html

+2-4
Original file line numberDiff line numberDiff line change
@@ -379,10 +379,8 @@ <h1 class="font-size:2rem">
379379
<button
380380
href="https://github.com/CoCreate-app/CoCreate-css-parser/tree/master/docs/index.html?message=docs%3A%20describe%20your%20change..."
381381
target="_blank"
382-
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)">
383-
<i
384-
class="height:20px fill:#505050"
385-
src="/assets/svg/pencil-alt.svg"></i>
382+
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)">
383+
<i class="height:20px" src="../assets/svg/pencil-alt.svg"></i>
386384
</button>
387385
</main>
388386

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"
@@ -48,15 +48,15 @@
4848
</style>
4949

5050
<body>
51+
<!-- Navbar -->
5152
<nav
52-
class="nav display:flex align-items:center left:0px background:whitesmoke padding-top:10px padding-bottom:10px"
53+
class="width:100% display:flex align-items:center background:transparent padding-top:10px padding-bottom:10px"
5354
content_id="content"
54-
scroll="sticky-nav,hide-nav"
55-
scroll-up="10"
56-
scroll-down="10"
57-
array="files"
58-
object="60395ef42b3ac232657040fd"
59-
key="src"></nav>
55+
scroll="sticky-nav,"
56+
scroll-up="5"
57+
scroll-down="5"
58+
path="../"
59+
src="../components/navbar.html"></nav>
6060
<sidenav
6161
id="menuL"
6262
class="position:fixed top:0px left:0px overflow:hidden background:whitesmoke height:100vh width:0px width:300px@xl"
@@ -1146,10 +1146,8 @@ <h2 class="padding:5px_0px">Demo</h2>
11461146
<button
11471147
href="https://github.com/CoCreate-app/CoCreate-css-parser/tree/master/docs/index.html?message=docs%3A%20describe%20your%20change..."
11481148
target="_blank"
1149-
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)">
1150-
<i
1151-
class="height:20px fill:#505050"
1152-
src="/assets/svg/pencil-alt.svg"></i>
1149+
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)">
1150+
<i class="height:20px" src="../assets/svg/pencil-alt.svg"></i>
11531151
</button>
11541152
</main>
11551153
<script src="https://CoCreate.app/dist/CoCreate.js"></script>

0 commit comments

Comments
 (0)