Files
react-native-devtools-frontend/front_end/elements/elementsPanel.css
T
Andres Olivares b850e12b0b Fix bug causing 'Computed frames' move slightly towards right side when checking/unchecking the 'Show all' check box.
The disappearance of the scrollbar of the styles pane caused the component to offset to the right. The 'overflow'property in the style of the component was set to 'scroll' so the bar will always show.

Fixed: 1112681
Change-Id: Ic84c4deaff914be6c68b2b4ce1ce223c67352f2f
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2367354
Auto-Submit: Andres Olivares <andoli@chromium.org>
Commit-Queue: Andres Olivares <andoli@chromium.org>
Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>
2020-08-27 05:22:05 +00:00

71 lines
2.3 KiB
CSS

/*
* Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
* Copyright (C) 2009 Anthony Ricaud <rik@webkit.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of
* its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#elements-content {
flex: 1 1;
overflow: auto;
padding: 2px 0 0 0;
}
.style-panes-wrapper {
overflow: scroll;
}
.style-panes-wrapper > div:not(:first-child) {
border-top: 1px solid var(--divider-color);
}
#elements-content:not(.elements-wrap) > div {
display: inline-block;
min-width: 100%;
}
#elements-crumbs {
flex: 0 0 23px;
background-color: white;
border-top: 1px solid var(--divider-color);
overflow: hidden;
width: 100%;
}
.elements-tree-header {
height: 24px;
border-top: 1px solid var(--divider-color);
border-bottom: 1px solid var(--divider-color);
display: flex;
flex-direction: row;
align-items: center;
}
.elements-tree-header-frame {
margin-left: 6px;
margin-right: 6px;
flex: none;
}