Skip to content

Commit 4368816

Browse files
committed
Upgrate logo.
1 parent e39f014 commit 4368816

File tree

4 files changed

+33
-6
lines changed

4 files changed

+33
-6
lines changed

website/App.less

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,12 @@
55
.editor {
66
width: 980px;
77
margin: 0 auto;
8-
background-color: #f1f1f1;
8+
// background-color: #f1f1f1;
9+
padding-bottom: 30px;
10+
}
11+
12+
.logo {
13+
svg {
14+
width: 100%;
15+
}
916
}

website/App.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@ import * as React from 'react';
22
import MarkdownEditor from '../src';
33
import styles from './App.less';
44
import GithubCorner from './components/GithubCorner';
5-
import logo from './logo.svg';
5+
import Logo from './Logo';
66

77
export default class App extends React.Component {
88
public render() {
99
return (
1010
<div className={styles.warpper}>
1111
<GithubCorner url="https://github.com/uiwjs/react-markdown-editor" />
12-
<img src={logo} />
12+
<div className={styles.logo}>
13+
<Logo />
14+
</div>
1315
<div className={styles.editor}>
1416
<MarkdownEditor />
1517
</div>

0 commit comments

Comments
 (0)