style(core): adjust app sidebar style (#12852)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Style**
- Adjusted layout and spacing in sidebar and quick search components for
a more compact appearance.
- Reduced header and tab heights in the desktop app, increasing main
view space.
- Updated add-page button size, padding, and font for improved
usability.
  - Refined menu positioning in workspace selector for dense layouts.
  - Improved macOS window button positioning for better alignment.
  - Updated and restructured iOS app dependencies.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: fengmk2 <fengmk2@gmail.com>
This commit is contained in:
Cats Juice
2025-06-19 10:15:42 +08:00
committed by GitHub
parent 73402c8447
commit 380f40ebed
9 changed files with 35 additions and 85 deletions

View File

@@ -925,7 +925,7 @@ export async function handleWebContentsResize(webContents?: WebContents) {
if (isMacOS()) {
const window = await getMainWindow();
const factor = webContents?.getZoomFactor() || 1;
window?.setWindowButtonPosition({ x: 16 * factor, y: 24 * factor - 6 });
window?.setWindowButtonPosition({ x: 14 * factor, y: 14 * factor - 2 });
}
}

View File

@@ -5,44 +5,26 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/apollographql/apollo-ios.git",
"state" : {
"revision" : "c3f48d45ec1300bc95243bf19f67284f9dc0d14a",
"version" : "1.15.3"
"revision" : "39fea7617346c0731be25f61afd537e7032fb562",
"version" : "1.22.0"
}
},
{
"identity" : "msdisplaylink",
"identity" : "chidorimenu",
"kind" : "remoteSourceControl",
"location" : "https://github.com/Lakr233/MSDisplayLink",
"location" : "https://github.com/Lakr233/ChidoriMenu",
"state" : {
"revision" : "6e92b5513e3473e064685e64056c4ac46470e7b0",
"version" : "2.0.3"
"revision" : "3bb4323fe0f7f8f435d15656c3eeffcbb7c9c605",
"version" : "3.0.0"
}
},
{
"identity" : "networkimage",
"identity" : "splash",
"kind" : "remoteSourceControl",
"location" : "https://github.com/gonzalezreal/NetworkImage",
"location" : "https://github.com/JohnSundell/Splash",
"state" : {
"revision" : "2849f5323265386e200484b0d0f896e73c3411b9",
"version" : "6.0.1"
}
},
{
"identity" : "springinterpolation",
"kind" : "remoteSourceControl",
"location" : "https://github.com/Lakr233/SpringInterpolation",
"state" : {
"revision" : "f9d1ee3d2466bdb00fd0ade7f256ed20229c8413",
"version" : "1.3.0"
}
},
{
"identity" : "sqlite.swift",
"kind" : "remoteSourceControl",
"location" : "https://github.com/stephencelis/SQLite.swift.git",
"state" : {
"revision" : "a95fc6df17d108bd99210db5e8a9bac90fe984b8",
"version" : "0.15.3"
"revision" : "7f4df436eb78fe64fe2c32c58006e9949fa28ad8",
"version" : "0.16.0"
}
},
{
@@ -50,8 +32,17 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/swiftlang/swift-cmark",
"state" : {
"revision" : "3ccff77b2dc5b96b77db3da0d68d28068593fa53",
"version" : "0.5.0"
"revision" : "b022b08312decdc46585e0b3440d97f6f22ef703",
"version" : "0.6.0"
}
},
{
"identity" : "swift-collections",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-collections",
"state" : {
"revision" : "c1805596154bb3a265fd91b8ac0c4433b4348fb0",
"version" : "1.2.0"
}
},
{
@@ -62,15 +53,6 @@
"revision" : "57051701c58a93603ffa2051f8e9cf0c8cff7814",
"version" : "3.3.0"
}
},
{
"identity" : "swift-markdown-ui",
"kind" : "remoteSourceControl",
"location" : "https://github.com/gonzalezreal/swift-markdown-ui",
"state" : {
"revision" : "5f613358148239d0292c0cef674a3c2314737f9e",
"version" : "2.4.1"
}
}
],
"version" : 2