Commit 71edd3af authored by John Lee's avatar John Lee Committed by Commit Bot

WebUI: Move --cr-section mixin to the only place it is used

Bug: 973674
Change-Id: I88427bb8259bda94af6550228e7925212df791a8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2341178Reviewed-by: default avatarRebekah Potter <rbpotter@chromium.org>
Commit-Queue: John Lee <johntlee@chromium.org>
Cr-Commit-Position: refs/heads/master@{#796947}
parent 4e53ad3d
......@@ -225,7 +225,11 @@
/* A settings-box is a horizontal row of text or controls within a
* setting section (page or subpage). */
.settings-box {
@apply --cr-section;
align-items: center;
border-top: var(--cr-separator-line);
display: flex;
min-height: var(--cr-section-min-height);
padding: 0 var(--cr-section-padding);
}
.settings-box.no-padding {
......
......@@ -155,16 +155,6 @@
--cr-section-indent-padding: calc(
var(--cr-section-padding) + var(--cr-section-indent-width));
/* TODO(crbug.com/973674): Do not use this mixin. Use the class cr-row
* from shared_style_css.html instead. */
--cr-section: {
align-items: center;
border-top: var(--cr-separator-line);
display: flex;
min-height: var(--cr-section-min-height);
padding: 0 var(--cr-section-padding);
}
--cr-section-vertical-margin: 21px;
--cr-centered-card-max-width: 680px;
......
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