diff --git a/browser/resources/extensions/brave_overrides/side_bar.ts b/browser/resources/extensions/brave_overrides/side_bar.ts index 11bbf4fdc444..dfb057004dff 100644 --- a/browser/resources/extensions/brave_overrides/side_bar.ts +++ b/browser/resources/extensions/brave_overrides/side_bar.ts @@ -3,39 +3,34 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this file, // You can obtain one at https://mozilla.org/MPL/2.0/. -// @ts-nocheck TODO(petemill): Define types and remove ts-nocheck +import { injectStyle } from '//resources/brave/lit_overriding.js' +import { css } from '//resources/lit/v3_0/lit.rollup.js' +import { ExtensionsSidebarElement } from '../sidebar.js' -import {RegisterStyleOverride} from 'chrome://resources/brave/polymer_overriding.js' -import {html} from 'chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js' +injectStyle(ExtensionsSidebarElement, css` + .cr-nav-menu-item { + min-height: 20px !important; + border-end-end-radius: 0px !important; + border-start-end-radius: 0px !important; + box-sizing: content-box !important; + } -RegisterStyleOverride( - 'extensions-sidebar', - html` - + .cr-nav-menu-item cr-ripple { + display: none !important; + } ` )