This commit is contained in:
Sean Yesmunt 2019-07-19 10:52:42 -04:00
parent ce38506607
commit f2e70ba0d2
5 changed files with 3 additions and 18 deletions

View file

@ -51,7 +51,7 @@ function App(props: Props) {
}, [userId]);
return (
<div className="main-wrapper" ref={appRef} onContextMenu={e => openContextMenu(e)}>
<div className={MAIN_WRAPPER_CLASS} ref={appRef} onContextMenu={e => openContextMenu(e)}>
<Header />
<div className="main-wrapper__inner">

View file

@ -63,7 +63,7 @@ class UriIndicator extends React.PureComponent<Props> {
return (
<Button className="button--uri-indicator" navigate={channelLink}>
<Tooltip label={'test' || <ClaimPreview uri={channelLink} type="small" />}>{inner}</Tooltip>
<Tooltip label={<ClaimPreview uri={channelLink} type="small" />}>{inner}</Tooltip>
</Button>
);
} else {

View file

@ -186,12 +186,3 @@
margin-right: auto;
padding-right: var(--spacing-medium);
}
.claim-preview-tags {
margin-left: 0;
// change this
.tag {
max-width: 10rem;
}
}

View file

@ -1,10 +1,3 @@
.navigation-wrapper {
// width: var(--side-nav-width);
// left: calc(100% - var(--side-nav-width));
// height: 100%;
// position: absolute;
}
.navigation {
width: var(--side-nav-width);
font-size: 1.4rem;

View file

@ -27,6 +27,7 @@ export function toQueryString(params) {
return parts.join('&');
}
// https://stackoverflow.com/questions/5999118/how-can-i-add-or-update-a-query-string-parameter
export function updateQueryParam(uri, key, value) {
const re = new RegExp('([?&])' + key + '=.*?(&|$)', 'i');
const separator = uri.indexOf('?') !== -1 ? '&' : '?';