diff --git a/src-tauri/capabilities/SubWindow.json b/src-tauri/capabilities/SubWindow.json index e0d3fd4d..e7c2aaa1 100644 --- a/src-tauri/capabilities/SubWindow.json +++ b/src-tauri/capabilities/SubWindow.json @@ -31,6 +31,7 @@ "core:window:allow-set-focus", "core:window:allow-set-fullscreen", "core:window:allow-show", + "core:window:allow-set-always-on-top", "core:window:default", { "identifier": "fs:allow-exists", diff --git a/src-tauri/gen/schemas/capabilities.json b/src-tauri/gen/schemas/capabilities.json index 4ec39d2e..a42f42e7 100644 --- a/src-tauri/gen/schemas/capabilities.json +++ b/src-tauri/gen/schemas/capabilities.json @@ -102,6 +102,7 @@ "core:window:allow-set-focus", "core:window:allow-set-fullscreen", "core:window:allow-show", + "core:window:allow-set-always-on-top", "core:window:default", { "identifier": "fs:allow-exists", "allow": [{ "path": "**" }] }, { "identifier": "fs:allow-mkdir", "allow": [{ "path": "**" }] }, diff --git a/src/components/app/t-pinWin.vue b/src/components/app/t-pinWin.vue new file mode 100644 index 00000000..f684acb3 --- /dev/null +++ b/src/components/app/t-pinWin.vue @@ -0,0 +1,54 @@ + + + diff --git a/src/components/main/t-shareBtn.vue b/src/components/app/t-shareBtn.vue similarity index 98% rename from src/components/main/t-shareBtn.vue rename to src/components/app/t-shareBtn.vue index a3de4cc2..7a535b21 100644 --- a/src/components/main/t-shareBtn.vue +++ b/src/components/app/t-shareBtn.vue @@ -63,7 +63,7 @@ async function shareContent(): Promise { height: 24px; align-items: center; justify-content: center; - padding-right: 2px; + padding-right: 3px; margin: 5px; } diff --git a/src/components/post/tb-collect.vue b/src/components/post/tb-collect.vue index 8c348945..5f916269 100644 --- a/src/components/post/tb-collect.vue +++ b/src/components/post/tb-collect.vue @@ -1,7 +1,7 @@