mirror of
https://github.com/lemeow125/Ivy-Frontend.git
synced 2025-05-14 18:41:06 +08:00
Polished margin of all pages and fixed logout not clearing token
This commit is contained in:
parent
48ed8f45c6
commit
18d9fbe1ef
13 changed files with 169 additions and 16 deletions
|
@ -1,4 +1,4 @@
|
|||
import React, { useState } from "react";
|
||||
import React from "react";
|
||||
import styles from "../../styles";
|
||||
import { useNavigate } from "react-router-dom";
|
||||
import ProductsIcon from "../../Components/Icons/ProductsIcon/ProductsIcon";
|
||||
|
@ -10,7 +10,7 @@ import ViewManager from "../../Components/ProductsPage/ViewManager";
|
|||
export default function Products() {
|
||||
const navigate = useNavigate();
|
||||
return (
|
||||
<div style={{ margin: 32, height: "100%" }}>
|
||||
<div>
|
||||
<div style={styles.content_row}>
|
||||
<div style={{ ...styles.content_row, ...{ flex: 1 } }}>
|
||||
<div style={{ display: "flex", alignItems: "center", gap: 16 }}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue