Skip to content

Commit

Permalink
fix: ui glitches (#618)
Browse files Browse the repository at this point in the history
* Dimensions panel's scrollbar and padding
* Upgraded to Analytics v3.1.1 for various UI fixes
  • Loading branch information
martinkrulltott authored Feb 5, 2020
1 parent d4c5bc6 commit 2788daf
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"redux-mock-store": "^1.5.3"
},
"dependencies": {
"@dhis2/analytics": "^3.1.0",
"@dhis2/analytics": "^3.1.1",
"@dhis2/d2-ui-core": "^6.5.2",
"@dhis2/d2-ui-file-menu": "^6.5.2",
"@dhis2/d2-ui-interpretations": "^6.5.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export class DndDimensionsPanel extends Component {
background: '#fff',
border: `1px solid ${colors.grey400}`,
borderRadius: '5px',
marginRight: '8px',
}}
placeholder={i18n.t('Filter dimensions')}
text={this.state.filterText}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
height: 100%;
overflow: auto;
margin-top: 0px;
padding: 0;
padding-right: 8px;
}

.list {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
display: flex;
flex-direction: column;
background-color: #f4f6f8;
padding: 8px 8px 0 8px;
padding: 8px 0 0 8px;
overflow: hidden;
}
2 changes: 1 addition & 1 deletion packages/plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"module": "./build/es/lib.js",
"license": "BSD-3-Clause",
"dependencies": {
"@dhis2/analytics": "^3.1.0",
"@dhis2/analytics": "^3.1.1",
"@material-ui/core": "^3.1.2",
"d2-analysis": "33.2.11",
"lodash-es": "^4.17.11",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1442,10 +1442,10 @@
react-beautiful-dnd "^10.1.1"
styled-jsx "^3.2.1"

"@dhis2/analytics@^3.1.0":
version "3.1.0"
resolved "https://registry.yarnpkg.com/@dhis2/analytics/-/analytics-3.1.0.tgz#1e9ad696b5e1e1c44accac932d5f447e9bd22d49"
integrity sha512-cLCE8yMFZ1I7DNOuIBNmVc8taKOw82sZVdxmSz3f9zAxKXnH8UT58lhOBE3nwJu95R5C4lJHrpMkJY81Gy7O0w==
"@dhis2/analytics@^3.1.1":
version "3.1.1"
resolved "https://registry.yarnpkg.com/@dhis2/analytics/-/analytics-3.1.1.tgz#d1748b169b36e90ee71550c179900c8962b752b8"
integrity sha512-64p818t8hst1nu/+xWVsaWO/gs9CxLgbE9MerHwYgmxjTlqCYvNaEuWwxeorb6lnjGnd+LPiH1k+AN7Fsh0JYg==
dependencies:
"@dhis2/d2-i18n" "^1.0.4"
"@dhis2/d2-ui-org-unit-dialog" "^6.3.2"
Expand Down

0 comments on commit 2788daf

Please sign in to comment.