Skip to content

Commit

Permalink
Merge pull request #15585 from brave/remove_link_underline_from_setti…
Browse files Browse the repository at this point in the history
…ngs_ui

Removed link's underline from settings UI
  • Loading branch information
simonhong authored Oct 24, 2022
2 parents 0e37979 + 1a9cb91 commit feaae68
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
diff --git a/chrome/browser/resources/settings/settings_shared.css b/chrome/browser/resources/settings/settings_shared.css
index b28284ade36d1ad8a695e6532b74edc406dcc067..e82a56cecd818b5636f0b59373353a2fda19b3f3 100644
--- a/chrome/browser/resources/settings/settings_shared.css
+++ b/chrome/browser/resources/settings/settings_shared.css
@@ -9,7 +9,8 @@
* #import=//resources/cr_elements/search_highlight_style.css.js
* #import=./settings_vars.css.js
<if expr='not chromeos_ash'>
- * #include=cr-shared-style search-highlight-style
+ * #import=//resources/page_specific/settings/br_settings_shared.css.js
+ * #include=cr-shared-style search-highlight-style br-settings-shared
</if>
<if expr='chromeos_ash'>
* #import=//resources/cr_elements/chromeos/cros_color_overrides.m.js
12 changes: 12 additions & 0 deletions ui/webui/resources/page_specific/settings/br_settings_shared.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/* Copyright (c) 2022 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 http://mozilla.org/MPL/2.0/. */

/* #css_wrapper_metadata_start
* #type=style
* #css_wrapper_metadata_end */

a[href] {
text-decoration: none !important;
}
1 change: 1 addition & 0 deletions ui/webui/resources/sources.gni
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ if (include_polymer) {
"br_elements/br_shared_vars.css",
"overrides/cr_button_override.css",
"overrides/cr_toggle_override.css",
"page_specific/settings/br_settings_shared.css",
]

# Files that are generated by css_to_wrapper().
Expand Down

0 comments on commit feaae68

Please sign in to comment.