mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-09-29 16:57:00 +08:00
Passing an array to `path.join` is not supported, it takes unlimited arguments rather than an array of one. This was introduced in crrev.com/c/4678757, but I think the bots were happy because they do not use the index page and instead navigate directly to examples. This error only triggered on the index page. As a drive-by, I also bumped the font size as otherwise they use the default, rather small, DevTools font size. Bug: none Change-Id: I580c454d62e3ce66065bdb21c2fc7b0349825637 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/4685569 Reviewed-by: Andres Olivares <andoli@chromium.org> Commit-Queue: Andres Olivares <andoli@chromium.org> Auto-Submit: Jack Franklin <jacktfranklin@chromium.org>
53 lines
991 B
CSS
53 lines
991 B
CSS
/*
|
|
* Copyright 2021 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.
|
|
*/
|
|
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: ".SFNSDisplay-Regular", "Helvetica Neue", "Lucida Grande", sans-serif;
|
|
}
|
|
|
|
#index-page h1 {
|
|
text-align: left;
|
|
border-bottom: 1px solid var(--color-details-hairline);
|
|
padding: 10px;
|
|
width: 100%;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.components-list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 10px;
|
|
}
|
|
|
|
.components-list li {
|
|
width: 20%;
|
|
min-width: 150px;
|
|
max-width: 300px;
|
|
margin: 0 12px 12px 0;
|
|
}
|
|
|
|
.components-list a {
|
|
display: block;
|
|
font-size: 14px;
|
|
padding: 10px;
|
|
}
|
|
|
|
.components-list a:link,
|
|
.components-list a:visited {
|
|
text-transform: capitalize;
|
|
color: var(--color-primary-old);
|
|
text-decoration: none;
|
|
box-shadow: var(--drop-shadow);
|
|
}
|
|
|
|
.components-list a:hover {
|
|
box-shadow: var(--drop-shadow-depth-3);
|
|
}
|