diff --git a/browser/resources/history/brave_overrides/history_item.ts b/browser/resources/history/brave_overrides/history_item.ts new file mode 100644 index 00000000000..ecdfb86003e --- /dev/null +++ b/browser/resources/history/brave_overrides/history_item.ts @@ -0,0 +1,19 @@ +// Copyright (c) 2024 The Brave Authors. All rights reserved. +// This Source Code Form is subject to the terms of the Mozilla Public +// 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/. + +import {RegisterStyleOverride} from 'chrome://resources/brave/polymer_overriding.js' +import {html} from 'chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js' + +RegisterStyleOverride( + 'history-item', + html` + + ` +) diff --git a/browser/resources/history/brave_overrides/index.ts b/browser/resources/history/brave_overrides/index.ts index 8bcd2ae1a18..6275fa7ef3f 100644 --- a/browser/resources/history/brave_overrides/index.ts +++ b/browser/resources/history/brave_overrides/index.ts @@ -4,4 +4,5 @@ // you can obtain one at https://mozilla.org/MPL/2.0/. import './app.js' +import './history_item.js' import './side_bar.js' diff --git a/browser/resources/history/sources.gni b/browser/resources/history/sources.gni index 6e0c0c8d9aa..f2412868f9c 100644 --- a/browser/resources/history/sources.gni +++ b/browser/resources/history/sources.gni @@ -7,6 +7,7 @@ brave_history_web_component_files = [ "brave_history_item.ts" ] brave_history_non_web_component_files = [ "brave_overrides/app.ts", + "brave_overrides/history_item.ts", "brave_overrides/side_bar.ts", "brave_overrides/index.ts", ]