mirror of
https://github.com/filecoin-project/slate.git
synced 2024-09-20 10:47:18 +03:00
Merge pull request #182 from filecoin-project/@harisbutt/ui-cleanup
itty bitty ui tweaks
This commit is contained in:
commit
88c3e84b5a
@ -79,7 +79,7 @@ export default class ApplicationControlMenu extends React.Component {
|
||||
onSignOut={this._handleSignOut}
|
||||
navigation={[
|
||||
{
|
||||
text: "Profile & account settings",
|
||||
text: "Account Settings",
|
||||
value: "V1_NAVIGATION_PROFILE",
|
||||
},
|
||||
/*
|
||||
@ -88,7 +88,7 @@ export default class ApplicationControlMenu extends React.Component {
|
||||
value: "V1_NAVIGATION_FILECOIN_SETTINGS",
|
||||
},
|
||||
*/
|
||||
{ text: "Sign out", value: null, action: "SIGN_OUT" },
|
||||
{ text: "Sign Out", value: null, action: "SIGN_OUT" },
|
||||
]}
|
||||
/>
|
||||
</Dismissible>
|
||||
|
@ -133,8 +133,6 @@ const STYLES_BLOCK = css`
|
||||
justify-content: center;
|
||||
transition: 200ms ease all;
|
||||
cursor: pointer;
|
||||
:hover {
|
||||
color: ${Constants.system.brand};
|
||||
}
|
||||
`;
|
||||
|
||||
|
@ -12,7 +12,7 @@ const STYLES_CONTAINER = css`
|
||||
border-radius: 4px;
|
||||
border: 1px solid ${Constants.system.border};
|
||||
padding: 24px;
|
||||
max-width: 768px;
|
||||
max-width: 100%;
|
||||
width: 100%;
|
||||
`;
|
||||
|
||||
|
@ -111,7 +111,7 @@ export default class SidebarAddFileToBucket extends React.Component {
|
||||
render() {
|
||||
return (
|
||||
<React.Fragment>
|
||||
<System.P style={{ fontFamily: Constants.font.semiBold }}>Upload data</System.P>
|
||||
<System.P style={{ fontFamily: Constants.font.semiBold }}>Upload Data</System.P>
|
||||
<input css={STYLES_FILE_HIDDEN} type="file" multiple id="file" onChange={this._handleUpload} />
|
||||
|
||||
{this.props.data && this.props.data.decorator === "SLATE" ? (
|
||||
@ -129,12 +129,6 @@ export default class SidebarAddFileToBucket extends React.Component {
|
||||
Add file
|
||||
</System.ButtonPrimary>
|
||||
|
||||
{!this.props.fileLoading ? (
|
||||
<System.ButtonSecondary full style={{ marginTop: 16 }} onClick={this.props.onCancel}>
|
||||
Cancel
|
||||
</System.ButtonSecondary>
|
||||
) : null}
|
||||
|
||||
<br />
|
||||
|
||||
{this.props.fileLoading
|
||||
|
@ -72,14 +72,6 @@ export default class SidebarCreateSlate extends React.Component {
|
||||
>
|
||||
Create {this.state.name}
|
||||
</System.ButtonPrimary>
|
||||
|
||||
<System.ButtonSecondary
|
||||
full
|
||||
style={{ marginTop: 16 }}
|
||||
onClick={this._handleCancel}
|
||||
>
|
||||
Cancel
|
||||
</System.ButtonSecondary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
@ -159,7 +159,7 @@ export default class SceneEditAccount extends React.Component {
|
||||
|
||||
return (
|
||||
<ScenePage>
|
||||
<System.H1>Profile & account settings</System.H1>
|
||||
<System.H1>Account Settings</System.H1>
|
||||
|
||||
<System.DescriptionGroup
|
||||
style={{ marginTop: 48 }}
|
||||
|
@ -70,13 +70,9 @@ export default class SceneFilesFolder extends React.Component {
|
||||
|
||||
<DataMeter
|
||||
stats={this.props.viewer.stats}
|
||||
style={{ margin: "48px 0 24px 0" }}
|
||||
style={{ margin: "48px 0 48px 0" }}
|
||||
/>
|
||||
|
||||
<System.H1 style={{ marginTop: 48 }}>
|
||||
{this.props.current.name}
|
||||
</System.H1>
|
||||
|
||||
<DataView
|
||||
buttons={[
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user