diff --git a/public/assets/css/general.css b/public/assets/css/general.css index 4cae081a..1dcc2676 100644 --- a/public/assets/css/general.css +++ b/public/assets/css/general.css @@ -158,6 +158,13 @@ a, a:visited { color: #4156C5; } +.link--secondary, .link--secondary:visited { + font-size: medium; + margin: 0px; + padding: 0.3em; + color: #9b9b9b; +} + .link--nav { color: black; border-bottom: 2px solid white; @@ -461,6 +468,10 @@ button { color: #9b9b9b; } +.button--wide { + width: 100%; +} + /* TABLES */ table { diff --git a/react/components/AssetInfo/view.jsx b/react/components/AssetInfo/view.jsx index 0f1f3efe..68693b96 100644 --- a/react/components/AssetInfo/view.jsx +++ b/react/components/AssetInfo/view.jsx @@ -4,18 +4,8 @@ import { Link } from 'react-router-dom'; class AssetInfo extends React.Component { constructor (props) { super(props); - this.state = { - showDetails: false, - }; - this.toggleDetails = this.toggleDetails.bind(this); this.copyToClipboard = this.copyToClipboard.bind(this); } - toggleDetails () { - if (this.state.showDetails) { - return this.setState({showDetails: false}); - } - this.setState({showDetails: true}); - } copyToClipboard (event) { var elementToCopy = event.target.dataset.elementtocopy; var element = document.getElementById(elementToCopy); @@ -31,69 +21,86 @@ class AssetInfo extends React.Component { return (