Merged sidebar logout button style with other sidebar buttons

This commit is contained in:
keannu125 2023-03-07 18:00:49 +08:00
parent 44bc211e4b
commit 3344ec1510
2 changed files with 2 additions and 15 deletions

View file

@ -25,12 +25,12 @@ export default function Logout(props: props) {
}
return (
<div style={{ paddingTop: "40vh" }}>
<div>
<Button
onClick={logout}
value="Log out"
variant="contained"
style={styles.logout_button}
style={styles.sidebar_button}
>
{props.children}
<p style={{ ...styles.text_white, ...styles.text_S }}>Log Out</p>

View file

@ -102,19 +102,6 @@ const styles: { [key: string]: React.CSSProperties } = {
borderRadius: 16,
margin: 4,
},
logout_button: {
backgroundColor: "#0b2322",
width: "14rem",
height: "3rem",
border: "none",
padding: 8,
borderRadius: 16,
borderTopLeftRadius: 32,
borderBottomLeftRadius: 32,
borderTopRightRadius: 0,
borderBottomRightRadius: 0,
justifyContent: "left",
},
sidebar_button: {
backgroundColor: "#0b2322",
width: "14rem",