Rework file picker for SSH modal (#19020)
This PR changes the SSH modal design so its more keyboard navigation-friendly and adds the server nickname feature. Release Notes: - N/A --------- Co-authored-by: Danilo <danilo@zed.dev> Co-authored-by: Danilo Leal <67129314+danilo-leal@users.noreply.github.com>
This commit is contained in:
parent
be7b24fcf7
commit
db7417f3b5
12 changed files with 871 additions and 491 deletions
|
@ -193,6 +193,7 @@ impl RenderOnce for ListItem {
|
|||
.id("inner_list_item")
|
||||
.w_full()
|
||||
.relative()
|
||||
.items_center()
|
||||
.gap_1()
|
||||
.px(Spacing::Medium.rems(cx))
|
||||
.map(|this| match self.spacing {
|
||||
|
@ -247,7 +248,7 @@ impl RenderOnce for ListItem {
|
|||
.flex_grow()
|
||||
.flex_shrink_0()
|
||||
.flex_basis(relative(0.25))
|
||||
.gap(Spacing::Small.rems(cx))
|
||||
.gap(Spacing::Medium.rems(cx))
|
||||
.map(|list_content| {
|
||||
if self.overflow_x {
|
||||
list_content
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue