From 2c6de05b175419159210b4b005332dff994fc8df Mon Sep 17 00:00:00 2001 From: EnixCoda Date: Mon, 28 May 2018 23:40:51 +0800 Subject: [PATCH] style: code format --- src/components/SideBar.js | 9 ++++++--- src/content.less | 8 ++++---- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/src/components/SideBar.js b/src/components/SideBar.js index 49163b0..236cefb 100644 --- a/src/components/SideBar.js +++ b/src/components/SideBar.js @@ -104,8 +104,8 @@ export default class SideBar extends preact.Component {
Access Denied

- Gitako needs access token with proper scopes (recommended: repo) to access this repository. - Please save it in the settings below. + Gitako needs access token with proper scopes (recommended: repo) to access this + repository. Please save it in the settings below.

) @@ -117,7 +117,10 @@ export default class SideBar extends preact.Component {
{metaData && } {errorDueToAuth && this.renderAccessDeniedError()} - {metaData && treeData && } + {metaData && + treeData && ( + + )}
) } diff --git a/src/content.less b/src/content.less index e26fcdb..2524d52 100644 --- a/src/content.less +++ b/src/content.less @@ -41,18 +41,18 @@ width: 100%; height: 100%; display: block; - background-image: url("./assets/icons/octicons/clippy.svg?inline"); + background-image: url('./assets/icons/octicons/clippy.svg?inline'); background-position: center; background-repeat: no-repeat; } &.success { .icon { - background-image: url("./assets/icons/octicons/check.svg?inline"); + background-image: url('./assets/icons/octicons/check.svg?inline'); } } &.fail { .icon { - background-image: url("./assets/icons/octicons/x.svg?inline"); + background-image: url('./assets/icons/octicons/x.svg?inline'); } } } @@ -68,7 +68,7 @@ } .@{name}-toggle-show-button-wrapper { - @animation-duration: .8s; + @animation-duration: 0.8s; position: fixed; top: 5px; left: 0;