diff --git a/docs/_sass/_search-bar.scss b/docs/_sass/_search-bar.scss index 2a546d3a5be..fcf81a1fbf0 100644 --- a/docs/_sass/_search-bar.scss +++ b/docs/_sass/_search-bar.scss @@ -83,6 +83,7 @@ /* This input is in #___gcse_0 search bar */ input#gsc-i-id1.gsc-input { + background-image: none !important; background-color: var(--color-appBG) !important; padding: 15px 0px 0px !important; pointer-events: auto; diff --git a/docs/assets/js/main.js b/docs/assets/js/main.js index 61300e0013b..1c896e0f21d 100644 --- a/docs/assets/js/main.js +++ b/docs/assets/js/main.js @@ -121,7 +121,7 @@ function openSidebar() { // Function to adapt & fix cropped SVG viewBox from Google based on viewport (Mobile or Tablet-Desktop) function changeSVGViewBoxGoogle() { // Get all inline Google SVG elements on the page - const svgsGoogle = document.querySelectorAll('svg[data-source]:not(.logo)'); + const svgsGoogle = document.querySelectorAll('svg[data-source]:not(.logo), .gsc-search-button.gsc-search-button-v2 svg'); Array.from(svgsGoogle).forEach((svg) => { // Set the viewBox attribute to '0 0 13 13' to make the svg fit in the mobile view