Merge pull request #31 from andrerfneves/bugfix/sidebar-item-clickable-area
Bugfix/sidebar item clickable area
This commit is contained in:
commit
641b8fa6b4
Binary file not shown.
After Width: | Height: | Size: 273 KiB |
File diff suppressed because it is too large
Load Diff
Before Width: | Height: | Size: 1.9 MiB |
|
@ -34,6 +34,8 @@ const StyledLink = styled(Link)`
|
||||||
border-right: ${props => (props.isActive
|
border-right: ${props => (props.isActive
|
||||||
? `1px solid ${props.theme.colors.sidebarItemActive}`
|
? `1px solid ${props.theme.colors.sidebarItemActive}`
|
||||||
: 'none')};
|
: 'none')};
|
||||||
|
z-index: 100;
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: ${/* eslint-disable-next-line max-len */
|
color: ${/* eslint-disable-next-line max-len */
|
||||||
|
|
|
@ -7,7 +7,7 @@ import styled from 'styled-components';
|
||||||
import generateRandomString from '../utils/generate-random-string';
|
import generateRandomString from '../utils/generate-random-string';
|
||||||
import { TextComponent } from '../components/text';
|
import { TextComponent } from '../components/text';
|
||||||
|
|
||||||
import ConsoleSymbol from '../assets/images/console_zcash.svg';
|
import ConsoleSymbol from '../assets/images/console_zcash.png';
|
||||||
|
|
||||||
const Wrapper = styled.div`
|
const Wrapper = styled.div`
|
||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
|
@ -35,15 +35,20 @@ const initialLog = `
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const defaultState = `
|
const defaultState = `
|
||||||
\n
|
Thank you for running a Zcash node!
|
||||||
|
You're helping to strengthen the network and contributing to a social good :)
|
||||||
|
In order to ensure you are adequately protecting your privacy when using Zcash, please see <https://z.cash/support/security/>.
|
||||||
|
|
||||||
Block height | 0
|
Block height | 0
|
||||||
Connections | 0
|
Connections | 0
|
||||||
Network solution rate | 0 Sol/s
|
Network solution rate | 0 Sol/s
|
||||||
|
|
||||||
You are currently not mining.
|
You are currently not mining.
|
||||||
To enable mining, add 'gen=1' to your zcash.conf and restart.
|
To enable mining, add 'gen=1' to your zcash.conf and restart.
|
||||||
|
|
||||||
Since starting this node 0 minutes, 0 seconds ago:
|
Since starting this node 0 minutes, 0 seconds ago:
|
||||||
- You have validated 0 transactions!
|
- You have validated 0 transactions!
|
||||||
|
\n
|
||||||
|
------------------------------------------
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const breakpoints = [1, 4, 7, 10, 13];
|
const breakpoints = [1, 4, 7, 10, 13];
|
||||||
|
@ -56,7 +61,7 @@ type State = {
|
||||||
|
|
||||||
export class ConsoleView extends Component<Props, State> {
|
export class ConsoleView extends Component<Props, State> {
|
||||||
state = {
|
state = {
|
||||||
log: initialLog + defaultState,
|
log: defaultState,
|
||||||
};
|
};
|
||||||
|
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
|
|
Loading…
Reference in New Issue