diff --git a/crates/ely_app/src/shell/chrome/home/recap.rs b/crates/ely_app/src/shell/chrome/home/recap.rs index 7f7ce97..a50fcac 100644 --- a/crates/ely_app/src/shell/chrome/home/recap.rs +++ b/crates/ely_app/src/shell/chrome/home/recap.rs @@ -55,11 +55,20 @@ fn render_continue_card( .bg(rgba(CARD_BG)) .shadow(card_shadow()) .p(px(16.0)) - .grid() - .grid_cols(2) + .flex() .gap(px(16.0)) - .child(render_continue_history(recent_history, now, cx)) - .child(render_reading_list_cover(featured, cx)) + .child( + div() + .flex_1() + .min_w_0() + .child(render_continue_history(recent_history, now, cx)), + ) + .child( + div() + .w(px(240.0)) + .flex_shrink_0() + .child(render_reading_list_cover(featured, cx)), + ) .into_any_element() } diff --git a/crates/ely_app/src/shortcuts.rs b/crates/ely_app/src/shortcuts.rs index d64d895..3f0f9af 100644 --- a/crates/ely_app/src/shortcuts.rs +++ b/crates/ely_app/src/shortcuts.rs @@ -204,7 +204,9 @@ pub(crate) const SHORTCUT_BINDINGS: &[ShortcutBinding] = &[ shortcut(ShortcutAction::OpenSettings, ShortcutPlatform::Macos, "cmd-,"), shortcut(ShortcutAction::OpenSettings, ShortcutPlatform::WindowsLinux, "ctrl-,"), shortcut(ShortcutAction::FocusAddressBar, ShortcutPlatform::Macos, "cmd-l"), + shortcut(ShortcutAction::FocusAddressBar, ShortcutPlatform::Macos, "cmd-k"), shortcut(ShortcutAction::FocusAddressBar, ShortcutPlatform::WindowsLinux, "ctrl-l"), + shortcut(ShortcutAction::FocusAddressBar, ShortcutPlatform::WindowsLinux, "ctrl-k"), shortcut(ShortcutAction::CloseCurrentTab, ShortcutPlatform::Macos, "cmd-w"), shortcut(ShortcutAction::CloseCurrentTab, ShortcutPlatform::WindowsLinux, "ctrl-w"), shortcut(ShortcutAction::RestoreClosedTab, ShortcutPlatform::Macos, "cmd-shift-t"),