fix: Fixed width for dataset panel (#12221)

This commit is contained in:
Kamil Gabryjelski
2021-01-06 06:08:03 +01:00
committed by GitHub
parent 6df8224381
commit c8ad5c90bd

View File

@@ -81,8 +81,10 @@ const Styles = styled.div`
border-top: 1px solid ${({ theme }) => theme.colors.grayscale.light2};
.explore-column {
display: flex;
flex: 0 0 ${({ theme }) => theme.gridUnit * 80}px;
flex-direction: column;
padding: ${({ theme }) => 2 * theme.gridUnit}px 0;
max-width: ${({ theme }) => theme.gridUnit * 80}px;
max-height: 100%;
}
.data-source-selection {
@@ -122,9 +124,6 @@ const Styles = styled.div`
padding: ${({ theme }) => 2 * theme.gridUnit}px;
width: ${({ theme }) => 8 * theme.gridUnit}px;
}
.data-tab {
min-width: 288px;
}
.callpase-icon > svg {
color: ${({ theme }) => theme.colors.primary.base};
}
@@ -399,9 +398,7 @@ function ExploreViewContainer(props) {
)}
<div
className={
isCollapsed
? 'no-show'
: 'data-tab explore-column data-source-selection'
isCollapsed ? 'no-show' : 'explore-column data-source-selection'
}
>
<div className="title-container">