We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6efb107 commit 17fe084Copy full SHA for 17fe084
1 file changed
docs/assets/js/main.js
@@ -121,7 +121,7 @@ function openSidebar() {
121
// Function to adapt & fix cropped SVG viewBox from Google based on viewport (Mobile or Tablet-Desktop)
122
function changeSVGViewBoxGoogle() {
123
// Get all inline Google SVG elements on the page
124
- 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');
125
126
Array.from(svgsGoogle).forEach((svg) => {
127
// Set the viewBox attribute to '0 0 13 13' to make the svg fit in the mobile view
0 commit comments