Skip to content

Commit

Permalink
Merge pull request #45 from agentlab/issue-44-scrollbars
Browse files Browse the repository at this point in the history
GH-44 [fix] Tree DataControl always shows scrollbars and increases height
  • Loading branch information
amivanoff authored Nov 7, 2021
2 parents 24c740d + 13b2148 commit c19b95c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/data-controls/TreeRenderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import './styles.css';
const divStyle: React.CSSProperties = {
height: '100%',
padding: '5px',
overflow: 'scroll',
overflow: 'auto',
};

export const TreeRenderer: React.FC<any> = (props) => {
Expand Down
3 changes: 2 additions & 1 deletion stories/TwoTablesBig.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ const viewKinds = [
elements: [
{
'@id': 'mktp:_934jHd67',
'@type': 'aldkg:PanelLayout',
'@type': 'aldkg:VerticalLayout',
options: {
style: {
height: '100%',
Expand Down Expand Up @@ -187,6 +187,7 @@ const viewKinds = [
'@id': 'mktp:_97hFH67',
'@type': 'aldkg:SplitPaneLayout',
options: {
grow: '1',
style: {
width: '100%',
height: '100%',
Expand Down

0 comments on commit c19b95c

Please sign in to comment.