mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2025-01-14 17:23:26 +01:00
Fixed react-icons size/position.
This commit is contained in:
parent
825b9044b9
commit
843d3df8bc
2 changed files with 13 additions and 1 deletions
|
@ -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")
|
||||||
|
);
|
||||||
|
|
|
@ -50,3 +50,9 @@ $toolbar-offset: 0;
|
||||||
.maputnik-layout {
|
.maputnik-layout {
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.react-icons {
|
||||||
|
vertical-align: middle;
|
||||||
|
width: 14px;
|
||||||
|
height: 14px;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue