mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-01 01:38:07 +08:00
This ads a tab where all developer resources (that is source maps and source code referenced from them) are listed once a load is triggered. The tabs main function is to display the network load status of the resources: It lists whether the load was successful or not, and provides an error description. This is useful for debugging when we enable a different source map loading mechanism. The tab is currently gated behind a flag. Screenshot: https://imgur.com/a/raMhmB5 Design Doc: https://docs.google.com/document/d/1RGxUa8yg_gF-G9exoXQa7a9ZyIMFOrUHtq9T793XTbY Bug: chromium:1069378 Change-Id: I84e880cc45c6520066d12310aff119fee5749fe1 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2273188 Commit-Queue: Sigurd Schneider <sigurds@chromium.org> Reviewed-by: Peter Marshall <petermarshall@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Reviewed-by: Robert Paveza <Rob.Paveza@microsoft.com>
44 lines
860 B
CSS
44 lines
860 B
CSS
/*
|
|
* Copyright (c) 2020 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.
|
|
*/
|
|
|
|
:host {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.developer-resource-view-toolbar-container {
|
|
display: flex;
|
|
border-bottom: 1px solid #ccc;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.developer-resource-view-toolbar {
|
|
display: inline-block;
|
|
width: 100%;
|
|
}
|
|
|
|
.developer-resource-view-toolbar-summary {
|
|
background-color: #eee;
|
|
border-top: 1px solid #ccc;
|
|
padding-left: 5px;
|
|
flex: 0 0 19px;
|
|
display: flex;
|
|
padding-right: 5px;
|
|
}
|
|
|
|
.developer-resource-view-toolbar-summary .developer-resource-view-message {
|
|
padding-top: 2px;
|
|
padding-left: 1ex;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.developer-resource-view-results {
|
|
overflow-y: auto;
|
|
display: flex;
|
|
flex: auto;
|
|
}
|