1
0
mirror of https://github.com/oceanprotocol/commons.git synced 2023-03-15 18:03:00 +01:00
This commit is contained in:
Matthias Kretschmann 2019-02-26 20:51:29 -03:00
parent d58ed5dc29
commit c9abfa0890
Signed by: m
GPG Key ID: 606EEEF3C479A91F
5 changed files with 7 additions and 23 deletions

View File

@ -16,9 +16,6 @@ $popoverWidth: 18rem;
.popoverInfoline {
border-bottom: .05rem solid $brand-grey;
padding: $spacer / 3 0;
display: flex;
flex-wrap: wrap;
align-items: center;
&:first-child {
padding-top: 0;
@ -34,22 +31,9 @@ $popoverWidth: 18rem;
}
}
.accountName {
composes: popoverInfoline;
flex-wrap: nowrap;
// blockies avatar
canvas {
display: inline-block;
border-radius: 50%;
overflow: hidden;
flex: 0 0 20px;
margin-right: $spacer / 4;
}
}
.address {
width: 15rem;
display: block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;

View File

@ -9,7 +9,7 @@ const Popover = ({ togglePopover }: { togglePopover: any }) => (
onMouseOver={togglePopover}
onMouseOut={togglePopover}
>
<div className={styles.accountName}>
<div className={styles.popoverInfoline}>
<User.Consumer>
{states =>
states.account ? (

View File

@ -1,4 +1,4 @@
@import '../styles/variables';
@import '../../styles/variables';
.message {
margin-bottom: $spacer;

View File

@ -1,8 +1,8 @@
import React, { PureComponent } from 'react'
import Button from '../components/atoms/Button'
import AccountStatus from './molecules/AccountStatus/'
import Button from '../atoms/Button'
import AccountStatus from './AccountStatus/'
import styles from './Web3message.module.scss'
import { User } from '../context/User'
import { User } from '../../context/User'
export default class Web3message extends PureComponent {
public render() {

View File

@ -8,7 +8,7 @@ import Label from '../../components/atoms/Form/Label'
import Row from '../../components/atoms/Form/Row'
import { User } from '../../context/User'
import AssetModel from '../../models/AssetModel'
import Web3message from '../../components/Web3message'
import Web3message from '../../components/molecules/Web3message'
import Files from './Files/'
import form from '../../data/form-publish.json'