fix: explore page style fix, remove unnecessary scroll bars (#12649)

* fix: various style touch on Explore page

* More style fixes

* Force 100% height for sidebars

* Fix linting
This commit is contained in:
Jesse Yang
2021-01-22 09:18:13 -08:00
committed by GitHub
parent 1094573334
commit 57fa6d2cf9
5 changed files with 38 additions and 29 deletions

View File

@@ -95,6 +95,9 @@ const Styles = styled.div`
flex: 1;
min-width: ${({ theme }) => theme.gridUnit * 128}px;
border-left: 1px solid ${({ theme }) => theme.colors.grayscale.light2};
.panel {
margin-bottom: 0;
}
}
.controls-column {
align-self: flex-start;
@@ -404,7 +407,7 @@ function ExploreViewContainer(props) {
/>
)}
<Resizable
defaultSize={{ width: 300 }}
defaultSize={{ width: 300, height: '100%' }}
minWidth={300}
maxWidth="33%"
enable={{ right: true }}
@@ -456,7 +459,7 @@ function ExploreViewContainer(props) {
</div>
) : null}
<Resizable
defaultSize={{ width: 320 }}
defaultSize={{ width: 320, height: '100%' }}
minWidth={320}
maxWidth="33%"
enable={{ right: true }}