main
Mike Fix 3 years ago
parent 26d1f95acf
commit 27108aa76c

@ -59,7 +59,7 @@ function ShareMenu({ isVisible, toggleVisibility, tweet, imgur }) {
<ArrowDown color={COLORS.BLUE} /> <ArrowDown color={COLORS.BLUE} />
</Button> </Button>
</div> </div>
<Popout hidden={!isVisible} borderColor={COLORS.BLUE} pointerRight="7px" style={popoutStyle}> <Popout hidden={!isVisible} borderColor={COLORS.BLUE} pointerRight="6px" style={popoutStyle}>
<div className="share-row flex"> <div className="share-row flex">
<Button padding="8px" color={COLORS.BLUE} onClick={onClickImgur}> <Button padding="8px" color={COLORS.BLUE} onClick={onClickImgur}>
{imguring ? 'Uploading...' : 'Upload to Imgur (beta)'} {imguring ? 'Uploading...' : 'Upload to Imgur (beta)'}

@ -99,12 +99,12 @@ function SnippetToolbar({
return ( return (
<Toolbar <Toolbar
style={{ style={{
position: 'relative',
zIndex: 1,
marginTop: 16, marginTop: 16,
marginBottom: 0, marginBottom: 0,
flexDirection: 'row-reverse', flexDirection: 'row-reverse',
alignItems: 'center', alignItems: 'center',
zIndex: 1,
position: 'relative',
}} }}
> >
<div className="flex"> <div className="flex">
@ -150,7 +150,7 @@ function SnippetToolbar({
onChange={e => props.onChange('name', e.target.value)} onChange={e => props.onChange('name', e.target.value)}
/> />
</div> </div>
<Popout hidden={!isVisible} borderColor={COLORS.GREEN} pointerRight="7px" style={popoutStyle}> <Popout hidden={!isVisible} borderColor={COLORS.GREEN} pointerRight="6px" style={popoutStyle}>
<div className="menu flex"> <div className="menu flex">
<DuplicateButton onClick={props.onCreate} /> <DuplicateButton onClick={props.onCreate} />
{sameUser && <DeleteButton onClick={props.onDelete} />} {sameUser && <DeleteButton onClick={props.onDelete} />}

Loading…
Cancel
Save