Large font adjust, 3rem -> 2.75rem (#536)
* Large font adjust, 3rem -> 2.75rem * Adjust version display (reflect latest published)
This commit is contained in:
parent
018a96f43d
commit
7d853cab13
@ -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;
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
@ -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 />
|
||||
<NodeVersion label='v' />
|
||||
</div>
|
||||
<div>polkadot-js-ui v{pkgJson.version}</div>
|
||||
<div>polkadot-js-ui v{major}.{minor}.{parseInt(patch, 10) + 1}</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user