aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'vnext/src/components')
-rw-r--r--vnext/src/components/Feeds.js2
-rw-r--r--vnext/src/components/Thread.js2
-rw-r--r--vnext/src/components/UserInfo.css6
3 files changed, 6 insertions, 4 deletions
diff --git a/vnext/src/components/Feeds.js b/vnext/src/components/Feeds.js
index 55a4c287..538bfe7b 100644
--- a/vnext/src/components/Feeds.js
+++ b/vnext/src/components/Feeds.js
@@ -81,8 +81,6 @@ function Feed(props) {
}, [props.visitor, props.location]);
let loadMessages = (hash = '', filter = '') => {
- document.body.scrollTop = 0;
- document.documentElement.scrollTop = 0;
setMsgs([]);
const filterParams = qs.parse(filter);
let params = Object.assign({}, filterParams || {}, props.query.search || {});
diff --git a/vnext/src/components/Thread.js b/vnext/src/components/Thread.js
index f94ad358..2c88abc3 100644
--- a/vnext/src/components/Thread.js
+++ b/vnext/src/components/Thread.js
@@ -32,8 +32,6 @@ export default class Thread extends React.Component {
this.loadReplies();
}
loadReplies() {
- document.body.scrollTop = 0;
- document.documentElement.scrollTop = 0;
this.setState({ replies: [], loading: true });
const { mid } = this.props.match.params;
let params = {
diff --git a/vnext/src/components/UserInfo.css b/vnext/src/components/UserInfo.css
index e57b4585..5bb913ac 100644
--- a/vnext/src/components/UserInfo.css
+++ b/vnext/src/components/UserInfo.css
@@ -2,3 +2,9 @@
padding: 40px;
background-color: #fdfdfe;
}
+.info-avatar img {
+ max-height: 24px;
+ max-width: 24px;
+ padding: 6px;
+ vertical-align: middle;
+}