From aa34faf8abeaeb9ef29bf02e58792be4e87a635e Mon Sep 17 00:00:00 2001 From: Cheng-Han, Wu Date: Sun, 15 May 2016 12:31:16 +0800 Subject: Fix some code styles and user avatar style for PR #122 --- public/css/cover.css | 2 +- public/js/cover.js | 4 ++-- public/views/index.ejs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/public/css/cover.css b/public/css/cover.css index 351babd0..40e6ed53 100644 --- a/public/css/cover.css +++ b/public/css/cover.css @@ -250,7 +250,7 @@ input { .ui-avatar { border-radius: 15em; height: auto; - width: 200px; + width: 60px; } .ui-history-close { position: absolute; diff --git a/public/js/cover.js b/public/js/cover.js index a7ee855f..1b6c4221 100644 --- a/public/js/cover.js +++ b/public/js/cover.js @@ -32,7 +32,7 @@ function pageInit() { $('.ui-signin').hide(); $('.ui-or').hide(); $('.ui-welcome').show(); - $('.ui-avatar').prop('src',data.photo); + $('.ui-avatar').prop('src', data.photo); $('.ui-name').html(data.name); $('.ui-signout').show(); $(".ui-history").click(); @@ -42,7 +42,7 @@ function pageInit() { $('.ui-signin').slideDown(); $('.ui-or').slideDown(); $('.ui-welcome').hide(); - $('.ui-avatar').prop('src',''); + $('.ui-avatar').prop('src', ''); $('.ui-name').html(''); $('.ui-signout').hide(); parseStorageToHistory(historyList, parseHistoryCallback); diff --git a/public/views/index.ejs b/public/views/index.ejs index 98641df6..7d16428c 100644 --- a/public/views/index.ejs +++ b/public/views/index.ejs @@ -80,7 +80,7 @@
Below are history from browser