Skip to content

Commit 8bffe36

Browse files
authored
Merge pull request #2 from acmesquita/issue_01
Adicionando estilo global ao componente App
2 parents a203d77 + eed6730 commit 8bffe36

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

src/App.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import React from 'react';
22
import { Provider } from 'react-redux';
33

4+
import './styles/global.css'
5+
46
import store from './store'
57
import ComponentList from './components/ComponentList';
68

src/styles/global.css

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
* {
2+
margin: 0;
3+
padding: 0;
4+
outline: 0;
5+
box-sizing: border-box;
6+
}
7+
8+
html, body, #root {
9+
height: 100%;
10+
}
11+
12+
body {
13+
font: 14px 'Roboto', sans-serif;
14+
background: #fff;
15+
color: #333;
16+
-webkit-font-smoothing: antialiased !important;
17+
}
18+
19+
ul {
20+
list-style: none;
21+
}

0 commit comments

Comments
 (0)