Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Settings]: Fix missing top paddings (uplift to 1.74.x) #26618

Merged
merged 1 commit into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// 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('settings-edit-dictionary-page', html`
<style>
.cr-row.first {
padding-top: var(--leo-spacing-l);
}
</style>`)
1 change: 1 addition & 0 deletions browser/resources/settings/brave_overrides/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import './cr_icon.js'
import './add_site_dialog.js'
import './cookies_page.js'
import './default_browser_page.js'
import './edit_dictionary_page.js'
import './import_data_dialog.js'
import './iron_icon.js'
import './page_visibility.js'
Expand Down
1 change: 1 addition & 0 deletions browser/resources/settings/sources.gni
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ brave_settings_non_web_component_files = [
"brave_overrides/cookies_page.ts",
"brave_overrides/cr_icon.ts",
"brave_overrides/default_browser_page.ts",
"brave_overrides/edit_dictionary_page.ts",
"brave_overrides/import_data_dialog.ts",
"brave_overrides/index.ts",
"brave_overrides/iron_icon.ts",
Expand Down
Loading