Skip to content

Commit ea2f0c4

Browse files
authored
Update GlobalSearchValueController.js
1 parent cafde02 commit ea2f0c4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apollo-portal/src/main/resources/static/scripts/controller/GlobalSearchValueController.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -245,9 +245,9 @@ function GlobalSearchValueController($scope, $window, $translate, toastr, AppUti
245245
element.style.fontFamily = '"Open Sans", sans-serif';
246246
const devicePixelRatio = window.devicePixelRatio;
247247
const zoomLevel = Math.round((window.outerWidth / window.innerWidth) * 100) / 100;
248-
element.style.fontSize = `${13 * devicePixelRatio * zoomLevel}px`;
249-
element.style.padding = `${8 * devicePixelRatio * zoomLevel}px`;
250-
element.style.width = `${valueColumn.offsetWidth * devicePixelRatio * zoomLevel}px`;
248+
element.style.fontSize = 13 * devicePixelRatio * zoomLevel + 'px';
249+
element.style.padding = 8 * devicePixelRatio * zoomLevel + 'px';
250+
element.style.width = valueColumn.offsetWidth * devicePixelRatio * zoomLevel + 'px';
251251
}
252252

253253
function determinePosition(value, highlight) {

0 commit comments

Comments
 (0)