From 56e8bbb7c7c395a1cf683ab22856cf8335a6b316 Mon Sep 17 00:00:00 2001 From: iorate <682043+iorate@users.noreply.github.com> Date: Sun, 24 Sep 2023 22:32:00 +0900 Subject: [PATCH] fix(google): prevent duplication of controls fix #365 --- src/scripts/search-engines/google-desktop.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/scripts/search-engines/google-desktop.ts b/src/scripts/search-engines/google-desktop.ts index 4c1d86faf..3034ec446 100644 --- a/src/scripts/search-engines/google-desktop.ts +++ b/src/scripts/search-engines/google-desktop.ts @@ -116,6 +116,11 @@ const desktopSerpHandlers: Record = { }, { target: '#slim_appbar:empty', + style: { + '#slim_appbar > &:not(:only-child)': { + display: 'none', + }, + }, }, { target: '#botabar',