Skip to content

Commit 84cea05

Browse files
committed
fix: some styles
Signed-off-by: Innei <[email protected]>
1 parent 1ced23c commit 84cea05

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/components/layout/header/internal/Activity.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ const ActivityIcon = memo(() => {
139139
<>
140140
{!!media && (
141141
<m.div className="absolute inset-y-0 left-0 z-10 flex items-center lg:left-[-30px]">
142-
<div className="absolute inset-0 z-[-1] flex center">
142+
<div className="center absolute inset-0 z-[-1] flex">
143143
<div className="size-6 rounded-md ring-2 ring-red-500 dark:ring-red-400" />
144144
</div>
145145
<FloatPopover
@@ -157,7 +157,7 @@ const ActivityIcon = memo(() => {
157157
{processName && (
158158
<m.div
159159
key={processName}
160-
className="pointer-events-auto absolute inset-y-0 right-0 z-10 flex items-center overflow-hidden lg:right-[-25px]"
160+
className="pointer-events-auto absolute inset-y-0 right-3 z-10 flex items-center overflow-hidden lg:right-[-25px]"
161161
initial={{
162162
opacity: 0.0001,
163163
y: 15,

src/components/ui/markdown/renderers/collapse.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { useCallback, useLayoutEffect, useState } from 'react'
1+
import { useCallback, useLayoutEffect, useState } from 'react'
22
import clsx from 'clsx'
33
import type { FC, ReactNode } from 'react'
44

@@ -24,7 +24,7 @@ export const MDetails: FC<{ children: ReactNode[] }> = (props) => {
2424
return (
2525
<div className="my-2">
2626
<button
27-
className="mb-2 flex cursor-pointer items-center pl-2"
27+
className="mb-2 flex cursor-pointer items-center md:pl-2 [&_summary]:text-left"
2828
onClick={handleOpen}
2929
>
3030
<i

0 commit comments

Comments
 (0)