Skip to content

Commit e6263f9

Browse files
authored
💄 style(slash): keep menu descriptions inline (#185)
1 parent d0c5c46 commit e6263f9

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

src/plugins/slash/react/components/DefaultSlashMenu.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,17 +65,19 @@ const styles = createStaticStyles(({ css, cssVar }) => ({
6565
}
6666
`,
6767
text: css`
68+
overflow: hidden;
6869
display: flex;
6970
flex: 1 1 auto;
70-
flex-wrap: wrap;
71-
gap: 2px 8px;
71+
gap: 8px;
7272
align-items: baseline;
7373
7474
min-width: 0;
75+
76+
white-space: nowrap;
7577
`,
7678
textDescription: css`
7779
overflow: hidden;
78-
flex: 0 1 auto;
80+
flex: 1 1 auto;
7981
8082
min-width: 0;
8183

0 commit comments

Comments
 (0)