mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
style: code format
This commit is contained in:
parent
b848093e1e
commit
2c6de05b17
2 changed files with 10 additions and 7 deletions
|
|
@ -104,8 +104,8 @@ export default class SideBar extends preact.Component {
|
|||
<div className={'description'}>
|
||||
<h5>Access Denied</h5>
|
||||
<p>
|
||||
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.
|
||||
</p>
|
||||
</div>
|
||||
)
|
||||
|
|
@ -117,7 +117,10 @@ export default class SideBar extends preact.Component {
|
|||
<div className={'gitako-side-bar-content'}>
|
||||
{metaData && <MetaBar metaData={metaData} />}
|
||||
{errorDueToAuth && this.renderAccessDeniedError()}
|
||||
{metaData && treeData && <FileExplorer metaData={metaData} treeData={treeData} freeze={showSettings} />}
|
||||
{metaData &&
|
||||
treeData && (
|
||||
<FileExplorer metaData={metaData} treeData={treeData} freeze={showSettings} />
|
||||
)}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue