mirror of
https://github.com/ilyakooo0/urbit.git
synced 2025-01-05 22:03:50 +03:00
publish: vertically align 'edit' and 'delete'
This commit is contained in:
parent
5861e38392
commit
1a7bb6ecfa
@ -51,12 +51,12 @@ export function Note(props: NoteProps & RouteComponentProps) {
|
||||
const editUrl = props.location.pathname + "/edit";
|
||||
if (`~${window.ship}` === note?.author) {
|
||||
editPost = (
|
||||
<Box display="inline-block">
|
||||
<Box display="inline-block" verticalAlign='middle'>
|
||||
<Link to={editUrl}>
|
||||
<Text color="green">Edit</Text>
|
||||
<Text display='inline-block' color="green">Edit</Text>
|
||||
</Link>
|
||||
<Text
|
||||
className="dib f9 red2 ml2 pointer"
|
||||
display='inline-block'
|
||||
color="red"
|
||||
ml={2}
|
||||
onClick={deletePost}
|
||||
|
Loading…
Reference in New Issue
Block a user