Skip to content

Commit df0dd4a

Browse files
committed
fix: css issues
1 parent 8546905 commit df0dd4a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pwa/app/(common)/components/timeline/CodeBlock.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default function CodeBlock({ title, children }: CodeBlockProps) {
2222
return (
2323
<div
2424
ref={animation}
25-
className="dark bg-blue-black dark:bg-blue-darkest rounded-2xl p-6 w-full flex flex-col shadow-xl my-4 | sm:my-8 md:absolute md:right-[calc(100%+3rem)] md:w-full md:max-w-lg md:my-0"
25+
className="dark text-left bg-blue-black dark:bg-blue-darkest rounded-2xl p-6 w-full flex flex-col shadow-xl my-4 | sm:my-8 md:absolute md:right-[calc(100%+3rem)] md:w-full md:max-w-lg md:my-0"
2626
>
2727
<div className="flex flew-row items-center gap-2">
2828
<div className="rounded-full w-3 h-3 bg-[#ed6a5d]" />

pwa/components/docs/MobileSidebar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export default function MobileSideBar({
5252
/>
5353
</svg>
5454
</button>
55-
<div className="pl-4 flex flex-row gap-1 items-center justify-center leading-none text-sm font-light text-text-secondary">
55+
<div className="pl-4 flex flex-row gap-1 items-center justify-center leading-none text-sm font-light text-text-secondary dark:text-white/70">
5656
{breadCrumbs.map((docLink, index) => (
5757
<Fragment key={docLink.title}>
5858
{docLink.link ? (
@@ -67,7 +67,7 @@ export default function MobileSideBar({
6767
<span
6868
className={`${
6969
index === breadCrumbs.length - 1 &&
70-
"font-bold text-text-primary text-ellipsis whitespace-nowrap overflow-hidden"
70+
"font-bold text-text-primary text-ellipsis whitespace-nowrap overflow-hidden dark:text-white/50"
7171
}`}
7272
>
7373
{docLink.title}

0 commit comments

Comments
 (0)