Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
Fixed CSS issue with runtime widget
Browse files Browse the repository at this point in the history
  • Loading branch information
DarpanLalani committed Mar 16, 2021
1 parent babf3ea commit b541299
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gp-smart-map-project",
"version": "1.0.0",
"version": "1.0.2",
"description": "The Smart Map widget help you to track real-time device locations in indoor with multi floor infrastructure as well as in outdoor. Smart Map also support real-time Heat map for Indoor and outdoor location events.",
"author": "Darpankumar Lalani - Software AG, Global Presales",
"license": "Apache 2.0",
Expand Down
2 changes: 1 addition & 1 deletion projects/gp-smart-map/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gp-smart-map",
"version": "1.0.1",
"version": "1.0.2",
"description": "The Smart Map widget help you to track real-time device locations in indoor with multi floor infrastructure as well as in outdoor. Smart Map also support real-time Heat map for Indoor and outdoor location events.",
"author": "Darpankumar Lalani - Software AG, Global Presales",
"license": "Apache 2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@ export class GPSmartMapComponent implements OnInit, OnDestroy, AfterViewInit, On
* Not Applicable for Hybrid map
*/
private getChildLocationEventAndUpdateTime() {
return new Promise(
return new Promise<void>(
(resolve, reject) => {
if (this.loadChildDevices && this.mapType !== 'Hybrid') {
const deviceEventType = this.locationEventType.split(',').map(value => value.trim());
Expand Down Expand Up @@ -1180,7 +1180,7 @@ export class GPSmartMapComponent implements OnInit, OnDestroy, AfterViewInit, On
const iconMarker = L.ExtraMarkers.icon({
icon: this.__getIconForType(mo.type),
iconColor: '#fff',
extraClasses: 'fa-lg',
extraClasses: 'fa-sm',
markerColor: this.__getColorForType(mo.type),
shape: (isBeacon ? 'square' : 'circle'),
svg: 'false',
Expand Down
2 changes: 1 addition & 1 deletion runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"dist\\bundle-src\\custom-widget.js": "smartmap-runtime-widget-CustomWidget",
"dist/bundle-src/custom-widget.js": "smartmap-runtime-widget-CustomWidget"
},
"version": "1.0.1",
"version": "1.0.2",
"description": "Runtime package.json for library widget (written by Software AG Global Presales)",
"author": "Darpankumar Lalani - Software AG, Global Presales",
"license": "Apache 2.0"
Expand Down
6 changes: 3 additions & 3 deletions runtime/styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@

/* Location tracking css end */

.extra-marker i.fa {
margin-top: -35px;
.extra-marker i.fa-sm {
margin-top: -35px !important;
display: block;
margin-left: 7px;
margin-left: -2px !important;
}

.leaflet-top,
Expand Down
6 changes: 3 additions & 3 deletions src/smart-map.css
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@

/* Location tracking css end */

.extra-marker i.fa {
margin-top: -35px;
.extra-marker i.fa-sm {
margin-top: -35px !important;
display: block;
margin-left: 7px;
margin-left: -2px !important;
}

.leaflet-top,
Expand Down

0 comments on commit b541299

Please sign in to comment.