Commit 1bc93bde authored by Alex Ilin's avatar Alex Ilin Committed by Chromium LUCI CQ

[webui] Fix color theme icon layout issue

The size of a cr-theme-icon element is computed incorrectly if the
element doesn't have `display: block` property. This leads to a subtle
bug when displaying a `box-shadow` around a focused element.

Fixed: 1161116
Change-Id: I908b5e997c01db0db00574319c49029ef438b3ac
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2611025
Auto-Submit: Alex Ilin <alexilin@chromium.org>
Commit-Queue: Esmael Elmoslimany <aee@chromium.org>
Reviewed-by: default avatarEsmael Elmoslimany <aee@chromium.org>
Cr-Commit-Position: refs/heads/master@{#840651}
parent bd31e35b
<style> <style>
:host { :host {
--cr-theme-icon-size: 72px; --cr-theme-icon-size: 72px;
display: block;
} }
:host, :host,
......
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