Commit 2e4ff929 authored by Esmael El-Moslimany's avatar Esmael El-Moslimany Committed by Commit Bot

WebUI: cr-slider, use em for label padding and border-radius

Bug: 980856
Change-Id: Iad9f20399ff575a22adeb91473784781a9e0a0a0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1776778Reviewed-by: default avatarHector Carmona <hcarmona@chromium.org>
Commit-Queue: Esmael Elmoslimany <aee@chromium.org>
Cr-Commit-Position: refs/heads/master@{#691819}
parent 5d7d1534
......@@ -144,13 +144,13 @@
#label {
background: var(--cr-slider-knob-color);
border-radius: 14px;
border-radius: .75em;
bottom: 22px;
color: white; /* Same for dark and light mode. */
font-size: 12px;
line-height: 1.5em;
opacity: 0;
padding: 0 8px;
padding: 0 .67em;
position: absolute;
transform: translateX(-50%);
transition: opacity 80ms ease-in-out;
......
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