diff options
| author | anderklander <anderklander@gmail.com> | 2018-03-26 14:14:31 +0200 |
|---|---|---|
| committer | anderklander <anderklander@gmail.com> | 2018-04-11 13:45:41 +0200 |
| commit | 63fdf393545bacae79d00696ed03a3509f25aa45 (patch) | |
| tree | 286c1d05af2f1cf8f8c753e4a06099e887d0f0b6 /app | |
| parent | d0dcf31199cc3efa23645312fb9b5d2eb41a1d56 (diff) | |
| download | mullvadvpn-63fdf393545bacae79d00696ed03a3509f25aa45.tar.xz mullvadvpn-63fdf393545bacae79d00696ed03a3509f25aa45.zip | |
SelectLocation style and scrollbar-error fix
Diffstat (limited to 'app')
| -rw-r--r-- | app/components/SelectLocation.js | 5 | ||||
| -rw-r--r-- | app/components/SelectLocationStyles.js | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/app/components/SelectLocation.js b/app/components/SelectLocation.js index 2f040763ef..7a547e4e6f 100644 --- a/app/components/SelectLocation.js +++ b/app/components/SelectLocation.js @@ -51,11 +51,10 @@ export default class SelectLocation extends React.Component<SelectLocationProps, // restore scroll to selected cell const cell = this._selectedCell; const scrollView = this._scrollView; - console.log(scrollView); - console.log(cell); if(scrollView && cell) { - scrollView.scrollToElement(cell, 'middle'); + //TODO: fix this when repairing the auto-scroll in customscrollbars. + //scrollView.scrollToElement(cell, 'middle'); } } diff --git a/app/components/SelectLocationStyles.js b/app/components/SelectLocationStyles.js index 52f17a58c1..083a80499e 100644 --- a/app/components/SelectLocationStyles.js +++ b/app/components/SelectLocationStyles.js @@ -18,7 +18,7 @@ export default { }, close: { marginLeft: 12, - marginTop: 12, + marginTop: 24, cursor: 'default', }, close_icon:{ |
