Skip to content

Commit 91e1dcd

Browse files
committed
Update examples
1 parent 858982f commit 91e1dcd

File tree

2 files changed

+22
-12
lines changed

2 files changed

+22
-12
lines changed

docs/common.css

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ html, body {
22
font-family: Arial, Helvetica, sans-serif;
33
min-width: 800px;
44
}
5-
.navbar .navbar-brand {
6-
color: #f0f0f0;
7-
}
85
.head {
96
min-height: 400px;
107
text-align: center;

docs/index.html

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,34 @@
1717
<![endif]-->
1818
</head>
1919
<body>
20-
<div class="container">
21-
<div class="row text-center" style="margin: 2em 0;">
22-
<div class="col-xs-12" style="margin-bottom: 1em;">
23-
<h1 class="page-title">react-infinite-tree</h1>
24-
<h3>The <a href="https://github.com/cheton/infinite-tree">infinite-tree</a> library for React.&nbsp;<a href="https://github.com/cheton/react-infinite-tree">https://github.com/cheton/react-infinite-tree</a></h3>
20+
<nav class="navbar navbar-default">
21+
<div class="container-fluid">
22+
<div class="navbar-header">
23+
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
24+
<span class="sr-only">Toggle navigation</span>
25+
<span class="icon-bar"></span>
26+
<span class="icon-bar"></span>
27+
<span class="icon-bar"></span>
28+
</button>
29+
<a class="navbar-brand" href="http://cheton.github.io/react-infinite-tree">react-infinite-tree</a>
2530
</div>
26-
<div class="col-xs-12">
27-
<a class="btn btn-default btn-lg" href="https://github.com/cheton/react-infinite-tree" role="button">View on GitHub</a>
31+
<div class="navbar-right" style="margin: 0">
32+
<a
33+
class="btn btn-default navbar-btn"
34+
href="https://github.com/cheton/react-infinite-tree"
35+
>
36+
<i class="fa fa-github fa-fw" style="font-size: 16px"></i>
37+
GitHub
38+
</a>
2839
</div>
2940
</div>
41+
</nav>
42+
<div class="container-fluid">
3043
<div class="row">
3144
<div class="col-md-12">
32-
<!-- Classic -->
45+
<h3>The <a href="https://github.com/cheton/infinite-tree">infinite-tree</a> library for React.</h3>
46+
<br>
3347
<section id="classic">
34-
<h2 class="page-header">Classic</h2>
3548
<div class="container-fluid">
3649
<div class="row" style="margin-bottom: 10px;">
3750
<div class="col-xs-12">

0 commit comments

Comments
 (0)