File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ export const root = style({
1515 padding : '0 12px' ,
1616 position : 'relative' ,
1717 whiteSpace : 'nowrap' ,
18+ overflow : 'hidden' ,
1819} ) ;
1920export const icon = style ( {
2021 marginRight : '8px' ,
@@ -28,3 +29,8 @@ export const shortcutHint = style({
2829 color : cssVarV2 ( 'text/tertiary' ) ,
2930 fontSize : cssVar ( 'fontBase' ) ,
3031} ) ;
32+ export const quickSearchBarEllipsisStyle = style ( {
33+ overflow : 'hidden' ,
34+ textOverflow : 'ellipsis' ,
35+ whiteSpace : 'nowrap' ,
36+ } ) ;
Original file line number Diff line number Diff line change @@ -22,7 +22,9 @@ export function QuickSearchInput({ onClick, ...props }: QuickSearchInputProps) {
2222 onClick = { onClick }
2323 >
2424 < SearchIcon className = { styles . icon } />
25- { t [ 'Quick search' ] ( ) }
25+ < span className = { styles . quickSearchBarEllipsisStyle } >
26+ { t [ 'Quick search' ] ( ) }
27+ </ span >
2628 < div className = { styles . spacer } />
2729 < div className = { styles . shortcutHint } >
2830 { isMac ? ' ⌘ + K' : ' Ctrl + K' }
You can’t perform that action at this time.
0 commit comments