Skip to content

Commit

Permalink
Add padding between sidebar tab panel title and content.
Browse files Browse the repository at this point in the history
  • Loading branch information
junhaoliao committed Sep 18, 2024
1 parent 203f4f2 commit 748a159
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.sidebar-tab-panel {
padding: 0.75rem;
}

.sidebar-tab-panel-title {
margin-bottom: 0.5rem !important;
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import {
Typography,
} from "@mui/joy";

import "./CustomTabPanel.css";


interface CustomTabPanelProps {
children: React.ReactNode,
Expand All @@ -29,7 +31,7 @@ const CustomTabPanel = ({children, tabName, title}: CustomTabPanelProps) => {
className={"sidebar-tab-panel"}
value={tabName}
>
<DialogTitle>
<DialogTitle className={"sidebar-tab-panel-title"}>
<Typography
fontSize={14}
fontWeight={400}
Expand Down

0 comments on commit 748a159

Please sign in to comment.