Large font adjust, 3rem -> 2.75rem (#536)

* Large font adjust, 3rem -> 2.75rem

* Adjust version display (reflect latest published)
This commit is contained in:
Jaco Greeff 2018-12-26 16:19:02 +01:00 committed by GitHub
parent 018a96f43d
commit 7d853cab13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 6 deletions

View File

@ -25,7 +25,7 @@
> div {
display: inline-block;
font-size: 3rem;
font-size: 2.75rem;
font-weight: 100;
line-height: 1;
margin-bottom: 0.25rem;

View File

@ -24,8 +24,8 @@
}
.explorer--BestNumber {
font-size: 3rem;
line-height: 3rem;
font-size: 2.75rem;
line-height: 2.75rem;
position: relative;
text-align: right;
}

View File

@ -15,6 +15,7 @@ type Props = BareProps & {
};
const pkgJson = require('../package.json');
const [major, minor, patch] = pkgJson.version.split('.');
class NodeInfo extends React.PureComponent<Props> {
render () {
@ -28,7 +29,7 @@ class NodeInfo extends React.PureComponent<Props> {
<NodeName />&nbsp;
<NodeVersion label='v' />
</div>
<div>polkadot-js-ui&nbsp;v{pkgJson.version}</div>
<div>polkadot-js-ui&nbsp;v{major}.{minor}.{parseInt(patch, 10) + 1}</div>
</div>
);
}

View File

@ -169,9 +169,9 @@ header .ui--Button-Group {
}
.ui--CardSummary-large {
font-size: 3rem;
font-size: 2.75rem;
font-weight: 100;
line-height: 3rem;
line-height: 2.75rem;
text-align: right;
}