mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-13 01:54:52 +08:00
Today, each tool that uses the PieChart control has to implement its own legend control. This change moves the legend into PieChart and standardizes the look and feel. Screenshots: Application Storage tab: https://imgur.com/laaPFRO Heap statistics: https://imgur.com/SNwpGXt Profiler: https://imgur.com/FiKZtTx Change-Id: I61a8adab0b58fbe49298804f97208da6a6bbbce6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1607140 Commit-Queue: Jeff Fisher <jeffish@microsoft.com> Reviewed-by: Joel Einbinder <einbinder@chromium.org> Reviewed-by: Alexei Filippov <alph@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#661950} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 9ef252cf698f59acd24f683cd5dcad9d34d33e88
29 lines
472 B
CSS
29 lines
472 B
CSS
/*
|
|
* Copyright 2016 The Chromium Authors. All rights reserved.
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file.
|
|
*/
|
|
|
|
.report-row {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.clear-storage-button .report-row {
|
|
margin: 0 0 0 17px;
|
|
display: flex;
|
|
}
|
|
|
|
.link {
|
|
margin-left: 10px;
|
|
display: none;
|
|
}
|
|
|
|
.report-row:hover .link {
|
|
display: inline;
|
|
}
|
|
|
|
.usage-breakdown-row {
|
|
min-width: fit-content;
|
|
}
|