Fix: manage page button horizontal
This commit is contained in:
@@ -18,6 +18,7 @@ function Manage(props) {
|
|||||||
</button>
|
</button>
|
||||||
)}
|
)}
|
||||||
{props.user.role !== 0 && (
|
{props.user.role !== 0 && (
|
||||||
|
<div className="horizontal">
|
||||||
<button
|
<button
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
navigate(`/manage/users/${props.user.id}`);
|
navigate(`/manage/users/${props.user.id}`);
|
||||||
@@ -25,8 +26,6 @@ function Manage(props) {
|
|||||||
>
|
>
|
||||||
Edit
|
Edit
|
||||||
</button>
|
</button>
|
||||||
)}
|
|
||||||
{props.user.role !== 0 && (
|
|
||||||
<button
|
<button
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
fetch("/api/v1/logout")
|
fetch("/api/v1/logout")
|
||||||
@@ -42,6 +41,7 @@ function Manage(props) {
|
|||||||
>
|
>
|
||||||
Logout
|
Logout
|
||||||
</button>
|
</button>
|
||||||
|
</div>
|
||||||
)}
|
)}
|
||||||
<hr />
|
<hr />
|
||||||
<div className="horizontal">
|
<div className="horizontal">
|
||||||
|
|||||||
Reference in New Issue
Block a user