Skip to content

Commit 263608f

Browse files
committed
Fixed css
1 parent 00f69d9 commit 263608f

File tree

6 files changed

+13
-11
lines changed

6 files changed

+13
-11
lines changed

docs/client/components/AppNavbar/styles.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ body {
4848
min-height: 35px;
4949
span {
5050
&.active {
51-
border-bottom: 4px solid $primary-yellow;
51+
padding-bottom: 2px;
52+
border-bottom: 2px solid $primary-yellow;
5253
}
5354
}
5455
}

docs/client/components/GettingStartedPage/index.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ import SampleCode from './sampleCode.md';
44
import styles from './styles.scss';
55

66
const usageStyle = {
7-
height: '400px',
8-
overflowY: 'scroll',
97
background: '#e2e2e2',
8+
padding: '10px',
109
};
1110

1211
const GettingStartedPage = () => (
@@ -18,7 +17,9 @@ const GettingStartedPage = () => (
1817
Installation
1918
</div>
2019
<div className="js-code">
21-
npm install react-lite
20+
<pre className="hlsjs">
21+
npm install react-lite
22+
</pre>
2223
</div>
2324
<div className="sub-header">
2425
Usage

docs/client/components/GettingStartedPage/styles.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
}
1616

1717
.js-code {
18-
padding: 15px;
18+
padding: 8px;
1919
background: #e2e2e2;
2020
margin-bottom: 20px;
2121
min-width: 300px;

docs/client/components/HomePage/styles.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,18 @@
2020
.advantage-wrapper {
2121
padding: 0px 15px;
2222
.advantage {
23-
min-height: 160px;
23+
height: 160px;
2424
padding: 10px;
2525
box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.2), 0 1px 5px 0 rgba(0,0,0,.12);
2626
// border-radius: 5px;
27-
27+
2828
.header {
2929
font-weight: bold;
3030
text-align: center;
3131
padding-top: 5px;
3232
font-size: 20px;
3333
}
34-
34+
3535
.content {
3636
margin-top: 20px;
3737
font-size: 15px;

docs/client/components/PlaygroundPage/ComponentBar/styles.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
cursor: pointer;
1919
}
2020
&.active {
21-
background-color: $primary-blue;
22-
color: $primary-white
21+
color: #007bff;
22+
font-weight: bold;
2323
}
2424
}
2525
}

docs/public/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!doctype html>
22
<html lang="en">
33
<head>
4-
<link href="https://fonts.googleapis.com/css?family=Raleway" rel="stylesheet">
4+
<link href="https://fonts.googleapis.com/css?family=Raleway:300" rel="stylesheet">
55
<meta charset="utf-8">
66
<title>React Lite Components</title>
77
</head>

0 commit comments

Comments
 (0)