Skip to content

Commit

Permalink
Merge pull request #25952 from brave/cr130-followup-fix-inactive-tabs…
Browse files Browse the repository at this point in the history
…-setting-placement

Fix placement of inactive tabs setting
  • Loading branch information
emerick committed Oct 11, 2024
1 parent 61ec2cf commit 6a017bb
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions browser/resources/settings/brave_appearance_page/tabs.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
<!-- This file will be converted into tabs.html.js using //tools/grit/preprocess_if_expr -->
<style include="settings-shared iron-flex"></style>

<!-- Inactive tabs appearance -->
<settings-toggle-button
pref="{{prefs.performance_tuning.discard_ring_treatment.enabled}}"
class="cr-row"
label="$i18n{discardRingTreatmentEnabledLabel}"
sub-label-with-link="$i18n{discardRingTreatmentEnabledDescriptionWithLearnLink}"
on-sub-label-link-clicked="onDiscardRingTreatmentLearnMoreLinkClick_">
</settings-toggle-button>

<!-- Vertical Tab strip -->
<settings-toggle-button
class="cr-row first"
Expand Down Expand Up @@ -58,9 +49,7 @@
name="true"
no-extension-indicator>
</controlled-radio-button>
</settings-radio-group>


</settings-radio-group>
</div>
</template> <!-- vertical_tabs_enabled.value -->

Expand Down Expand Up @@ -104,3 +93,12 @@
class="cr-row"
label="$i18n{showHoverCardMemoryUsageStandalone}">
</settings-toggle-button>

<!-- Inactive tabs appearance -->
<settings-toggle-button
pref="{{prefs.performance_tuning.discard_ring_treatment.enabled}}"
class="cr-row"
label="$i18n{discardRingTreatmentEnabledLabel}"
sub-label-with-link="$i18n{discardRingTreatmentEnabledDescriptionWithLearnLink}"
on-sub-label-link-clicked="onDiscardRingTreatmentLearnMoreLinkClick_">
</settings-toggle-button>

0 comments on commit 6a017bb

Please sign in to comment.