Commit 9b84a15c authored by John Lee's avatar John Lee Committed by Commit Bot

WebUI: Remove min-height and add padding on extensions details page to match the rest of the page

Bug: 866641
Change-Id: Ie958bd21f9ea24d3ed7fd74f18e70feb238d61c8
Reviewed-on: https://chromium-review.googlesource.com/c/1357305Reviewed-by: default avatarScott Chen <scottchen@chromium.org>
Commit-Queue: John Lee <johntlee@chromium.org>
Cr-Commit-Position: refs/heads/master@{#612922}
parent 0a61eede
...@@ -70,10 +70,6 @@ ...@@ -70,10 +70,6 @@
text-decoration: none; text-decoration: none;
} }
.three-line {
min-height: var(--cr-section-three-line-min-height);
}
.section { .section {
@apply --cr-section; @apply --cr-section;
} }
...@@ -147,8 +143,10 @@ ...@@ -147,8 +143,10 @@
extensions-toggle-row { extensions-toggle-row {
@apply --cr-section; @apply --cr-section;
padding-bottom: 16px;
padding-inline-end: 0; padding-inline-end: 0;
padding-inline-start: 0; padding-inline-start: 0;
padding-top: 16px;
--toggle-row-label-padding: var(--cr-section-padding); --toggle-row-label-padding: var(--cr-section-padding);
} }
...@@ -351,7 +349,7 @@ ...@@ -351,7 +349,7 @@
<template is="dom-if" <template is="dom-if"
if="[[shouldShowIncognitoOption_( if="[[shouldShowIncognitoOption_(
data.incognitoAccess.isEnabled, incognitoAvailable)]]"> data.incognitoAccess.isEnabled, incognitoAvailable)]]">
<extensions-toggle-row id="allow-incognito" class="three-line" <extensions-toggle-row id="allow-incognito"
checked="[[data.incognitoAccess.isActive]]" checked="[[data.incognitoAccess.isActive]]"
on-change="onAllowIncognitoChange_"> on-change="onAllowIncognitoChange_">
<div> <div>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment