Skip to content

Commit

Permalink
fix(google): fix font theme on Youtube Videos/Instagram cards (#479)
Browse files Browse the repository at this point in the history
  • Loading branch information
aug-dev committed Jun 2, 2024
1 parent babb2f5 commit aa639f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/scripts/search-engines/google-desktop.ts
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,7 @@ const desktopSerpHandlers: Record<string, SerpHandler> = {
?.parentElement?.querySelector(".MhN3hd")
) {
actionRoot.parentElement?.style.setProperty("z-index", "1");
actionRoot.setAttribute("data-ub-dark", "1");
}
// Copy container style in order to fit the action on Instagram posts that
// take all the available space.
Expand Down

0 comments on commit aa639f4

Please sign in to comment.