replace styling with newlines by css

This commit is contained in:
Mateusz Konieczny 2022-12-06 13:18:07 +01:00
parent 57504f21c3
commit 499ecbf982
2 changed files with 1 additions and 9 deletions

View File

@ -11,7 +11,7 @@
}
.map-switcher-inline {
background: #FFC0CB;
margin: 0;
margin: 12px;
min-width: 280px;
}
.map-switcher-inline.night {

View File

@ -144,8 +144,6 @@ const PlanningView: React.FunctionComponent<CategoryViewProps> = (props) => {
value={null}
disabled={true}
/>
<br/>
<br/>
<button className="map-switcher-inline btn btn-outline btn-outline-dark" onClick={floodSwitchOnClick}>
{(flood === 'enabled')? 'Click to hide overlay' : 'Click to see the data mapped'}
</button>
@ -155,8 +153,6 @@ const PlanningView: React.FunctionComponent<CategoryViewProps> = (props) => {
value={null}
disabled={true}
/>
<br/>
<br/>
<button className="map-switcher-inline btn btn-outline btn-outline-dark" onClick={housingSwitchOnClick}>
{(housing === 'enabled')? 'Click to hide overlay' : 'Click to see the data mapped'}
</button>
@ -166,8 +162,6 @@ const PlanningView: React.FunctionComponent<CategoryViewProps> = (props) => {
value={null}
disabled={true}
/>
<br/>
<br/>
<button className="map-switcher-inline btn btn-outline btn-outline-dark" onClick={creativeSwitchOnClick}>
{(creative === 'enabled')? 'Click to hide overlay' : 'Click to see the data mapped'}
</button>
@ -177,8 +171,6 @@ const PlanningView: React.FunctionComponent<CategoryViewProps> = (props) => {
value={null}
disabled={true}
/>
<br/>
<br/>
<button className="map-switcher-inline btn btn-outline btn-outline-dark" onClick={vistaSwitchOnClick}>
{(vista === 'enabled')? 'Click to hide overlay' : 'Click to see the data mapped'}
</button>