diff --git a/lib/app.dart b/lib/app.dart index 13f2f30f..0b620ff2 100644 --- a/lib/app.dart +++ b/lib/app.dart @@ -89,11 +89,18 @@ class _RootShellState extends State<_RootShell> { windowControls: widget.services.window, child: DialogHost( router: widget.services.dialog, - child: Stack( + child: Column( children: [ - const Positioned.fill(child: RootLayout()), - const ClidePalette(), - const Positioned.fill(child: _WelcomeOverlay()), + _HatBar(kernel: widget.services), + Expanded( + child: Stack( + children: [ + const Positioned.fill(child: RootLayout()), + const ClidePalette(), + const Positioned.fill(child: _WelcomeOverlay()), + ], + ), + ), ], ), ), @@ -136,7 +143,6 @@ class RootLayout extends StatelessWidget { return Column( children: [ - _HatBar(kernel: kernel), Expanded( child: Row( children: [ diff --git a/lib/builtin/welcome/src/welcome_view.dart b/lib/builtin/welcome/src/welcome_view.dart index fe66a902..31a21e57 100644 --- a/lib/builtin/welcome/src/welcome_view.dart +++ b/lib/builtin/welcome/src/welcome_view.dart @@ -244,7 +244,7 @@ class _RecentRowState extends State<_RecentRow> { const SizedBox(height: 3), Row( children: [ - ClideText(widget.project.relativePath, muted: true, fontSize: 13, fontFamily: clideMonoFamily), + Flexible(child: ClideText(widget.project.relativePath, muted: true, fontSize: 13, fontFamily: clideMonoFamily, maxLines: 1, overflow: TextOverflow.ellipsis)), if (widget.project.branch != null) ...[ ClideText(' ยท ', muted: true, fontSize: 13), ClideIcon(PhosphorIcons.gitBranch, size: 11, color: widget.tokens.globalTextMuted),