aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2021-07-21 04:42:31 -0500
committerFurkan Sahin <furkan-dev@proton.me>2026-02-20 13:28:04 -0500
commit711eb24cb0b8c03bc43edffd082e91d970fc3dc9 (patch)
tree7f8c09ab3dd138670bd5bc3a67ad7a117c94c55a /components
parent745f7a50ebe2583b9badd371fc2a6f394148c88b (diff)
Added a timestamp and sorts posts by timestamp
Diffstat (limited to 'components')
-rw-r--r--components/Breadcrumbs/breadcrumbs.module.scss2
-rw-r--r--components/Breadcrumbs/index.tsx4
2 files changed, 3 insertions, 3 deletions
diff --git a/components/Breadcrumbs/breadcrumbs.module.scss b/components/Breadcrumbs/breadcrumbs.module.scss
index 104eec2..6facea4 100644
--- a/components/Breadcrumbs/breadcrumbs.module.scss
+++ b/components/Breadcrumbs/breadcrumbs.module.scss
@@ -12,4 +12,4 @@
.divider {
margin: 0 0.3rem;
-} \ No newline at end of file
+}
diff --git a/components/Breadcrumbs/index.tsx b/components/Breadcrumbs/index.tsx
index ed650e3..c5a17b8 100644
--- a/components/Breadcrumbs/index.tsx
+++ b/components/Breadcrumbs/index.tsx
@@ -9,7 +9,7 @@ export type BreadcrumbsProps = {
};
const Breadcrumbs : FC<BreadcrumbsProps> = ({children, className, ...props}) => (
- <div className={clsx(styles.breadcrumbs, className)} {...props}>
+ <span className={clsx(styles.breadcrumbs, className)} {...props}>
{Children.map(children, (child, index) => {
return (
<>
@@ -22,7 +22,7 @@ const Breadcrumbs : FC<BreadcrumbsProps> = ({children, className, ...props}) =>
</>
);
})}
- </div>
+ </span>
);
const Crumb : FC = ({children, ...props}) => (