1//https://stackoverflow.com/questions/68527354/how-to-set-responsive-width-on-a-sign-in-with-google-gsi-button-with-context 2 3let googleSignInContainer = $("#googleSignIn"); 4let renderGoogleTimeout = 0; 5 6window.addEventListener("resize", e => { 7 reset_width(); 8}); 9 10function reset_width() { 11 clearTimeout(renderGoogleTimeout); 12 renderGoogleTimeout = setTimeout(() => { 13 googleSignInContainer.html(""); 14 let w = googleSignInContainer.width(); 15 google.accounts.id.renderButton(googleSignInContainer[0], { 16 theme: "outline", 17 width: w, 18 text: "continue_with", 19 size: "large", 20 type: "standard", 21 logo_alignment: "center", 22 align:"center" 23 }); 24 25 }, 100); 26} 27reset_width();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.