cleanup
This commit is contained in:
parent
ce38506607
commit
f2e70ba0d2
5 changed files with 3 additions and 18 deletions
|
@ -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">
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -186,12 +186,3 @@
|
|||
margin-right: auto;
|
||||
padding-right: var(--spacing-medium);
|
||||
}
|
||||
|
||||
.claim-preview-tags {
|
||||
margin-left: 0;
|
||||
|
||||
// change this
|
||||
.tag {
|
||||
max-width: 10rem;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 ? '&' : '?';
|
||||
|
|
Loading…
Reference in a new issue