Skip to content

PasteFerry (隔空贴): clipboard and file sync across macOS, Windows and Linux. Direct-first, end-to-end encrypted. Optional official access: no server to host. Independent self-hosting remains available.

fix(ui): stack the send page in windows too narrow for side by side

baiyuzed6a5a4ce37f7
diff --git a/ui/lib/pages/send_page.dart b/ui/lib/pages/send_page.dart
index 49cc79d..040aabb 100644
--- a/ui/lib/pages/send_page.dart
+++ b/ui/lib/pages/send_page.dart
@@ -129,7 +129,8 @@ class _SendPageState extends State<SendPage> with SingleTickerProviderStateMixin
/// 窗口太窄、左右排放不下时也临时上下排。
Widget _body(BuildContext context, AppState state, Size size) {
final l = context.l10n;
- final wide = !(state.config?.sendLayoutStacked ?? false) && size.width >= 760;
+ // 左栏窄于约 480 时雷达放不下设备名字(960 宽的窗口就是这样),自动上下排
+ final wide = !(state.config?.sendLayoutStacked ?? false) && size.width >= 880;
final radar = state.peers.isEmpty
? EmptyState(
icon: AppIcons.send,