Skip to content

Commit dcf9adf

Browse files
minORCray-oxd
authored andcommitted
DBC22-1122: Fixed styles for buttons on map
1 parent ae23d2c commit dcf9adf

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/frontend/src/Components/Layers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default function Layers({ open, setLayersOpen, toggleLayer }) {
2222
if (!open) {
2323
return (
2424
<Button
25-
variant="outline-primary"
25+
variant="primary"
2626
className="map-btn open-layers"
2727
onClick={() => setLayersOpen(true)}>
2828
<FontAwesomeIcon icon={faLayerGroup} />

src/frontend/src/Components/Map.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,7 @@ export default function MapWrapper({
712712
{isPreview && (
713713
<Button
714714
className="map-btn map-view"
715-
variant="outline-primary"
715+
variant="primary"
716716
onClick={mapViewRoute}>
717717
<FontAwesomeIcon icon={faUpRightAndDownLeftFromCenter} />
718718
Map View
@@ -722,7 +722,7 @@ export default function MapWrapper({
722722
{isPreview && (
723723
<Button
724724
className="map-btn cam-location"
725-
variant="outline-primary"
725+
variant="primary"
726726
onClick={handleRecenter}>
727727
<CurrentCameraIcon />
728728
Camera location
@@ -731,21 +731,21 @@ export default function MapWrapper({
731731
{!isPreview && (!iconClicked || largeScreen) && (
732732
<Button
733733
className="map-btn my-location"
734-
variant="outline-primary"
734+
variant="primary"
735735
onClick={toggleMyLocation}>
736736
<FontAwesomeIcon icon={faLocationCrosshairs} />
737737
My location
738738
</Button>
739739
)}
740740

741741
<div className="zoom-btn">
742-
<Button className="zoom-in" variant="outline-primary" onClick={zoomIn}>
742+
<Button className="zoom-in" variant="primary" onClick={zoomIn}>
743743
<FontAwesomeIcon icon={faPlus} />
744744
</Button>
745745
<div className="zoom-divider" />
746746
<Button
747747
className="zoom-out"
748-
variant="outline-primary"
748+
variant="primary"
749749
onClick={zoomOut}>
750750
<FontAwesomeIcon icon={faMinus} />
751751
</Button>

0 commit comments

Comments
 (0)