Skip to content

Commit

Permalink
Add padding to GlobalSearch when TopBar is active
Browse files Browse the repository at this point in the history
  • Loading branch information
alepev committed Jun 5, 2023
1 parent a4c67ac commit eb52a35
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/ui/src/GlobalSearch.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ const useStyles = makeStyles((theme) => ({
right: "10px",
},
modal: {
// leave the space that will be hidden behind the logo bar unused
paddingTop: (window.configShowTopBar ?? false) ? "50px" : "",
"& .MuiDialog-scrollPaper": {
alignItems: "start",
"& .MuiDialog-paperWidthSm": {
Expand Down

0 comments on commit eb52a35

Please sign in to comment.