Skip to content

Commit

Permalink
chore: remove top toast
Browse files Browse the repository at this point in the history
  • Loading branch information
jinhojang6 committed Nov 5, 2024
1 parent ad22060 commit 49a80e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/theme/Layout/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ export default function Layout(props) {

<AnnouncementBar />

{!excludeToast && showTopToast && (
{/* {!excludeToast && showTopToast && (
<TopToast
colorMode={theme?.colorMode}
setShowTopToast={setShowTopToast}
/>
)}
)} */}

<div className={clsx(showTopToast && styles.toastMargin)}>
<Navbar />
Expand Down
4 changes: 2 additions & 2 deletions src/theme/Layout/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ body {
flex-direction: column;
}

.toastMargin {
/* .toastMargin {
margin-top: 48px;
}
@media (max-width: 478px) {
.toastMargin {
margin-top: 80px;
}
}
} */

0 comments on commit 49a80e2

Please sign in to comment.