Formatted whole app

This commit is contained in:
liamcardenas 2018-03-08 23:06:15 -08:00
parent 9584848077
commit 0c833a727e
6 changed files with 12 additions and 16 deletions

View file

@ -13,7 +13,7 @@ class FileList extends React.PureComponent {
};
this._sortFunctions = {
dateNew: (fileInfos) =>
dateNew: fileInfos =>
fileInfos.slice().sort((fileInfo1, fileInfo2) => {
const height1 = this.props.claimsById[fileInfo1.claim_id].height;
const height2 = this.props.claimsById[fileInfo2.claim_id].height;
@ -24,7 +24,7 @@ class FileList extends React.PureComponent {
}
return 0;
}),
dateOld: (fileInfos) =>
dateOld: fileInfos =>
fileInfos.slice().sort((fileInfo1, fileInfo2) => {
const height1 = this.props.claimsById[fileInfo1.claim_id].height;
const height2 = this.props.claimsById[fileInfo2.claim_id].height;
@ -35,7 +35,7 @@ class FileList extends React.PureComponent {
}
return 0;
}),
title: (fileInfos) =>
title: fileInfos =>
fileInfos.slice().sort((fileInfo1, fileInfo2) => {
const title1 = fileInfo1.value
? fileInfo1.value.stream.metadata.title.toLowerCase()
@ -50,7 +50,7 @@ class FileList extends React.PureComponent {
}
return 0;
}),
filename: (fileInfos) =>
filename: fileInfos =>
fileInfos.slice().sort(({ file_name: fileName1 }, { file_name: fileName2 }) => {
const fileName1Lower = fileName1.toLowerCase();
const fileName2Lower = fileName2.toLowerCase();
@ -61,8 +61,8 @@ class FileList extends React.PureComponent {
}
return 0;
}),
};
}
};
}
getChannelSignature(fileInfo) {
if (fileInfo.value) {

View file

@ -33,9 +33,7 @@ class UserPhoneVerify extends React.PureComponent {
<Form onSubmit={this.handleSubmit.bind(this)}>
<p>
{__(
`Please enter the verification code sent to +${countryCode}${
phone
}. Didn't receive it? `
`Please enter the verification code sent to +${countryCode}${phone}. Didn't receive it? `
)}
<Link onClick={this.reset.bind(this)} label="Go back." />
</p>

View file

@ -277,9 +277,7 @@ export function doLoadVideo(uri) {
});
dispatch(
doAlertError(
`Failed to download ${
uri
}, please try again. If this problem persists, visit https://lbry.io/faq/support for support.`
`Failed to download ${uri}, please try again. If this problem persists, visit https://lbry.io/faq/support for support.`
)
);
});

View file

@ -51,7 +51,7 @@ $md-checkmark-color: #fff;
border: none;
}
+ label:after {
$md-checkmark-size: $md-checkbox-size - 2*$md-checkbox-padding;
$md-checkmark-size: $md-checkbox-size - 2 * $md-checkbox-padding;
transform: rotate(-45deg);

View file

@ -18,7 +18,7 @@ table.table-standard {
vertical-align: bottom;
font-weight: 500;
font-size: 0.9em;
padding: $spacing-vertical/4+1 8px $spacing-vertical/4-2;
padding: $spacing-vertical/4 + 1 8px $spacing-vertical/4-2;
text-align: left;
border-bottom: var(--table-border);
img {

View file

@ -20,14 +20,14 @@
border: var(--tooltip-border);
color: var(--tooltip-color);
background-color: var(--tooltip-bg);
font-size: calc(var(--font-size) * 7/8);
font-size: calc(var(--font-size) * 7 / 8);
line-height: var(--font-line-height);
box-shadow: var(--box-shadow-layer);
}
.tooltip--header .tooltip__link {
@include text-link(#aaa);
font-size: calc(var(--font-size) * 3/4);
font-size: calc(var(--font-size) * 3 / 4);
margin-left: var(--button-padding);
vertical-align: middle;
}