mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
cleanup
This commit is contained in:
parent
d58ed5dc29
commit
c9abfa0890
@ -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;
|
||||
|
@ -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 ? (
|
||||
|
@ -1,4 +1,4 @@
|
||||
@import '../styles/variables';
|
||||
@import '../../styles/variables';
|
||||
|
||||
.message {
|
||||
margin-bottom: $spacer;
|
@ -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() {
|
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user