Commit cca1a01d authored by dschuyler's avatar dschuyler Committed by Commit bot

[MD settings] checkbox ripple clipping with iron list

This CL reduces the effect of iron-list clipping off the ink ripple
effect on paper-checkbox (e.g. in the language settings). The ripple can
still be clipped on the top and bottom. This CL fixes the more noticeable
clipping on the left edge.

BUG=608647
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/2098123002
Cr-Commit-Position: refs/heads/master@{#402639}
parent 23e9098e
......@@ -12,14 +12,20 @@
<template>
<style include="settings-shared">
.list-frame {
align-items: initial;
display: flex;
flex-direction: column;
align-items: initial;
}
iron-list {
height: 300px;
}
.ripple-padding {
/* Create a little extra space for checkbox ink ripple to flow into. */
left: -20px;
padding-left: 20px;
}
</style>
<settings-languages languages="{{languages}}"></settings-languages>
<div class="settings-box first block">
......@@ -38,7 +44,7 @@
</div>
<h2>$i18n{allLanguages}</h2>
<div class="list-frame vertical-list">
<iron-list items="{{languages.supported}}">
<iron-list class="ripple-padding" items="{{languages.supported}}">
<template>
<div class="list-item">
<paper-checkbox
......
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