Merge pull request #24646 from brave/history_item_font
Updated history page's item font style
This commit is contained in:
@@ -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'
|
||||
|
||||
@@ -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",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user