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]);
|
}, [userId]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="main-wrapper" ref={appRef} onContextMenu={e => openContextMenu(e)}>
|
<div className={MAIN_WRAPPER_CLASS} ref={appRef} onContextMenu={e => openContextMenu(e)}>
|
||||||
<Header />
|
<Header />
|
||||||
|
|
||||||
<div className="main-wrapper__inner">
|
<div className="main-wrapper__inner">
|
||||||
|
|
|
@ -63,7 +63,7 @@ class UriIndicator extends React.PureComponent<Props> {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Button className="button--uri-indicator" navigate={channelLink}>
|
<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>
|
</Button>
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -186,12 +186,3 @@
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
padding-right: var(--spacing-medium);
|
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 {
|
.navigation {
|
||||||
width: var(--side-nav-width);
|
width: var(--side-nav-width);
|
||||||
font-size: 1.4rem;
|
font-size: 1.4rem;
|
||||||
|
|
|
@ -27,6 +27,7 @@ export function toQueryString(params) {
|
||||||
return parts.join('&');
|
return parts.join('&');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// https://stackoverflow.com/questions/5999118/how-can-i-add-or-update-a-query-string-parameter
|
||||||
export function updateQueryParam(uri, key, value) {
|
export function updateQueryParam(uri, key, value) {
|
||||||
const re = new RegExp('([?&])' + key + '=.*?(&|$)', 'i');
|
const re = new RegExp('([?&])' + key + '=.*?(&|$)', 'i');
|
||||||
const separator = uri.indexOf('?') !== -1 ? '&' : '?';
|
const separator = uri.indexOf('?') !== -1 ? '&' : '?';
|
||||||
|
|
Loading…
Add table
Reference in a new issue