Fixed react-icons size/position.

This commit is contained in:
orangemug 2018-10-09 20:58:14 +01:00
parent 825b9044b9
commit 843d3df8bc
2 changed files with 13 additions and 1 deletions

View file

@ -1,3 +1,4 @@
import { IconContext } from "react-icons";
import React from 'react'; import React from 'react';
import ReactDOM from 'react-dom'; import ReactDOM from 'react-dom';
@ -5,4 +6,9 @@ import './favicon.ico'
import './styles/index.scss' import './styles/index.scss'
import App from './components/App'; import App from './components/App';
ReactDOM.render(<App/>, document.querySelector("#app")); ReactDOM.render(
<IconContext.Provider value={{className: 'react-icons'}}>
<App/>
</IconContext.Provider>,
document.querySelector("#app")
);

View file

@ -50,3 +50,9 @@ $toolbar-offset: 0;
.maputnik-layout { .maputnik-layout {
height: 100vh; height: 100vh;
} }
.react-icons {
vertical-align: middle;
width: 14px;
height: 14px;
}