From 77497032807c96febf94980d79342004d4e78de2 Mon Sep 17 00:00:00 2001 From: lobehubbot Date: Tue, 21 Jan 2025 08:42:54 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20docs(bot):=20Auto=20sync=20agent?= =?UTF-8?q?s=20&=20plugin=20to=20readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- changelog/v1.json | 7 +++++++ .../(main)/_layout/Desktop/SideBar/PinList/index.tsx | 12 +++++++----- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/changelog/v1.json b/changelog/v1.json index 0aa73e6349266..121f631e359ab 100644 --- a/changelog/v1.json +++ b/changelog/v1.json @@ -1,4 +1,11 @@ [ + { + "children": { + "improvements": ["Refactor [@nav](https://github.com/nav) layout and improve pin list style."] + }, + "date": "2025-01-21", + "version": "1.47.12" + }, { "children": { "improvements": ["Improve code for ai provider."] diff --git a/src/app/(main)/_layout/Desktop/SideBar/PinList/index.tsx b/src/app/(main)/_layout/Desktop/SideBar/PinList/index.tsx index 5b64af5c3ea13..c0832735bf39d 100644 --- a/src/app/(main)/_layout/Desktop/SideBar/PinList/index.tsx +++ b/src/app/(main)/_layout/Desktop/SideBar/PinList/index.tsx @@ -24,17 +24,19 @@ const useStyles = createStyles(({ css, token }) => ({ ink: css` &::before { content: ''; + + position: absolute; + inset-block-start: 50%; + inset-inline: -${12 + 3}px; + transform: translateY(-50%); + width: 4px; height: 0; border-radius: 50px; - position: absolute; - inset-inline: -${12 + 3}px; - inset-block-start: 50%; - transform: translateY(-50%); + background: ${token.colorPrimary}; transition: height 150ms ease-out; - background: ${token.colorPrimary}; } `, inkActive: css`