Skip to content

Commit ab6f9c0

Browse files
committed
fix: margin top issue for box content below navbar
fix: margin top issue for box content below navbar
1 parent 8935459 commit ab6f9c0

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

src/pages/Plugins.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,11 @@ const Plugins: React.FC = () => {
180180
>
181181
{/* Main Content Section */}
182182
<Box sx={{ flex: 1, padding: 4 }}>
183-
<Box mb={4}>
183+
<Box
184+
sx={{
185+
mt: { xs: 5, sm: 5, md: 5, lg: 0, xl: 0 },
186+
mb: 4,
187+
}}>
184188
<Typography variant="h4" fontWeight="bold" color="text.primary" mb={3}>
185189
{t("plugins.header")}
186190
</Typography>
@@ -266,4 +270,4 @@ const Plugins: React.FC = () => {
266270
);
267271
};
268272

269-
export default Plugins;
273+
export default Plugins;

src/pages/Themes.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,11 @@ const Themes: React.FC = () => {
200200
>
201201
{/* Main Content Section */}
202202
<Box sx={{ flex: 1, padding: 4 }}>
203-
<Box mb={4}>
203+
<Box
204+
sx={{
205+
mt: { xs: 5, sm: 5, md: 5, lg: 0, xl: 0 },
206+
mb: 4,
207+
}}>
204208
<Typography variant="h4" fontWeight="bold" color="text.primary" mb={3}>
205209
{t("themes.header")}
206210
</Typography>
@@ -358,4 +362,4 @@ const Themes: React.FC = () => {
358362
);
359363
};
360364

361-
export default Themes;
365+
export default Themes;

0 commit comments

Comments
 (0)