Skip to content

Commit

Permalink
fix: some styles
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <[email protected]>
  • Loading branch information
Innei committed May 3, 2024
1 parent 1ced23c commit 84cea05
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/layout/header/internal/Activity.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ const ActivityIcon = memo(() => {
<>
{!!media && (
<m.div className="absolute inset-y-0 left-0 z-10 flex items-center lg:left-[-30px]">
<div className="absolute inset-0 z-[-1] flex center">
<div className="center absolute inset-0 z-[-1] flex">
<div className="size-6 rounded-md ring-2 ring-red-500 dark:ring-red-400" />
</div>
<FloatPopover
Expand All @@ -157,7 +157,7 @@ const ActivityIcon = memo(() => {
{processName && (
<m.div
key={processName}
className="pointer-events-auto absolute inset-y-0 right-0 z-10 flex items-center overflow-hidden lg:right-[-25px]"
className="pointer-events-auto absolute inset-y-0 right-3 z-10 flex items-center overflow-hidden lg:right-[-25px]"
initial={{
opacity: 0.0001,
y: 15,
Expand Down
4 changes: 2 additions & 2 deletions src/components/ui/markdown/renderers/collapse.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useCallback, useLayoutEffect, useState } from 'react'
import { useCallback, useLayoutEffect, useState } from 'react'
import clsx from 'clsx'
import type { FC, ReactNode } from 'react'

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

0 comments on commit 84cea05

Please sign in to comment.