mirror of
https://github.com/lemeow125/Ivy-Frontend.git
synced 2024-11-17 06:39:25 +08:00
Merged sidebar logout button style with other sidebar buttons
This commit is contained in:
parent
44bc211e4b
commit
3344ec1510
2 changed files with 2 additions and 15 deletions
|
@ -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>
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue