Merge pull request #24646 from brave/history_item_font

Updated history page's item font style
This commit is contained in:
Simon Hong
2024-07-16 07:37:55 +09:00
committed by GitHub
3 changed files with 21 additions and 0 deletions
@@ -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`
<style>
.website-title {
font-size: 13px;
font-weight: 400;
}
</style>
`
)
@@ -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'
+1
View File
@@ -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",
]