Skip to content

Commit 17fe084

Browse files
committed
fix:74592: added selector for search icon to aplly correct attributes in help.expensify
1 parent 6efb107 commit 17fe084

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/assets/js/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ function openSidebar() {
121121
// Function to adapt & fix cropped SVG viewBox from Google based on viewport (Mobile or Tablet-Desktop)
122122
function changeSVGViewBoxGoogle() {
123123
// Get all inline Google SVG elements on the page
124-
const svgsGoogle = document.querySelectorAll('svg[data-source]:not(.logo)');
124+
const svgsGoogle = document.querySelectorAll('svg[data-source]:not(.logo), .gsc-search-button.gsc-search-button-v2 svg');
125125

126126
Array.from(svgsGoogle).forEach((svg) => {
127127
// Set the viewBox attribute to '0 0 13 13' to make the svg fit in the mobile view

0 commit comments

Comments
 (0)