From 9817f5ac5d33a440f0f2b466adef850cc03ab9d7 Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Tue, 22 Nov 2016 09:47:31 +0900 Subject: [PATCH] Aligned Flash info icons Fixes #5760 Auditors: @bbondy Test Plan: Open about:preferences#security and make sure the info icons are aligned --- js/about/preferences.js | 25 +++++++++++++++---------- less/about/preferences.less | 14 ++++++++++---- 2 files changed, 25 insertions(+), 14 deletions(-) diff --git a/js/about/preferences.js b/js/about/preferences.js index 7d072849c7e..4a23264f330 100644 --- a/js/about/preferences.js +++ b/js/about/preferences.js @@ -1584,24 +1584,29 @@ class SecurityTab extends ImmutableComponent {
- - +
{ isDarwin || isWindows - ?   + ?
+ +   {'Adobe'}. - : + }, true)}>{'Adobe'}. +
+ :
+ + +
}
-   - {'wiki'}. +   + {'wiki'}.
-
+
{ !isLinux ?
diff --git a/less/about/preferences.less b/less/about/preferences.less index b6b36d434c1..a1c154d0b1f 100644 --- a/less/about/preferences.less +++ b/less/about/preferences.less @@ -333,6 +333,16 @@ a { margin: 1.2em 2px 7px; } +.settingsList .subtext { + &.flashText { + margin-top: 0; + + #flashInfoIcon { + padding: 5px 5px 5px 0; + } + } +} + .settingsListCopy { color: @braveOrange; cursor: pointer; @@ -1002,10 +1012,6 @@ div.nextPaymentSubmission { } } -#flashInfoIcon { - padding: 5px 5px 5px 0; -} - .widevineInfoIcon { padding: 5px; }