File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
site/src/components/Navbar Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import { fade, makeStyles } from "@material-ui/core/styles"
4
4
import React from "react"
5
5
import { NavLink } from "react-router-dom"
6
6
import { UserResponse } from "../../api/types"
7
+ import { navHeight } from "../../theme/constants"
7
8
import { Logo } from "../Icons"
8
9
import { AdminDropdown } from "./AdminDropdown"
9
10
import { UserDropdown } from "./UserDropdown"
@@ -44,7 +45,7 @@ const useStyles = makeStyles((theme) => ({
44
45
flexDirection : "row" ,
45
46
justifyContent : "center" ,
46
47
alignItems : "center" ,
47
- height : 56 ,
48
+ height : navHeight ,
48
49
background : theme . palette . navbar . main ,
49
50
marginTop : 0 ,
50
51
transition : "margin 150ms ease" ,
@@ -64,7 +65,7 @@ const useStyles = makeStyles((theme) => ({
64
65
logo : {
65
66
alignItems : "center" ,
66
67
display : "flex" ,
67
- height : 56 ,
68
+ height : navHeight ,
68
69
paddingLeft : theme . spacing ( 4 ) ,
69
70
paddingRight : theme . spacing ( 2 ) ,
70
71
"& svg" : {
@@ -83,7 +84,7 @@ const useStyles = makeStyles((theme) => ({
83
84
color : "#A7A7A7" ,
84
85
display : "flex" ,
85
86
fontSize : 16 ,
86
- height : 56 ,
87
+ height : navHeight ,
87
88
padding : `0 ${ theme . spacing ( 3 ) } px` ,
88
89
textDecoration : "none" ,
89
90
transition : "background-color 0.3s ease" ,
You can’t perform that action at this time.
0 commit comments