summaryrefslogtreecommitdiffhomepage
path: root/app/components
diff options
context:
space:
mode:
authoranderklander <anderklander@gmail.com>2018-03-26 14:14:31 +0200
committeranderklander <anderklander@gmail.com>2018-04-11 13:45:41 +0200
commit63fdf393545bacae79d00696ed03a3509f25aa45 (patch)
tree286c1d05af2f1cf8f8c753e4a06099e887d0f0b6 /app/components
parentd0dcf31199cc3efa23645312fb9b5d2eb41a1d56 (diff)
downloadmullvadvpn-63fdf393545bacae79d00696ed03a3509f25aa45.tar.xz
mullvadvpn-63fdf393545bacae79d00696ed03a3509f25aa45.zip
SelectLocation style and scrollbar-error fix
Diffstat (limited to 'app/components')
-rw-r--r--app/components/SelectLocation.js5
-rw-r--r--app/components/SelectLocationStyles.js2
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:{