diff --git a/apps/content_script/block_mediator.ts b/apps/content_script/block_mediator.ts index 3123cbd2..ef7b36c9 100644 --- a/apps/content_script/block_mediator.ts +++ b/apps/content_script/block_mediator.ts @@ -247,6 +247,7 @@ class CompactMenu { constructor(hideAnchor: Anchor, blockAnchor: Anchor, changeAnchor: Anchor, position: string) { this.operationSpan = $.span("", "block-anchor"); + this.operationSpan.classList.add("gsb-compact-menu-block-anchor"); // add icon this.iconAnchor = $.anchor(""); diff --git a/apps/styles/google.css b/apps/styles/google.css index e8a8657d..37ff58fd 100644 --- a/apps/styles/google.css +++ b/apps/styles/google.css @@ -193,3 +193,13 @@ div[role="listitem"] { .gsb-anchor { cursor: pointer; } + +.gsb-compact-menu-block-anchor { + margin-left: 5px; +} + +/* HACK for compact menu */ +.UK95Uc { + overflow: visible !important; + contain: none !important; +}