TP-24538 | Minor Bug Fixes (#15)
This commit is contained in:
committed by
GitHub Enterprise
parent
4b490fb1ed
commit
6cbed542fa
@@ -23,6 +23,12 @@ const SmartSearch: FC<SmartSearchProps> = ({ updateSearchResults }) => {
|
||||
|
||||
const placeHolder = 'Enter the channel name here';
|
||||
|
||||
const onKeyPressClickHandler = (event: React.KeyboardEvent) => {
|
||||
if (event.key === 'Enter') {
|
||||
updateSearchResults(searchValue);
|
||||
}
|
||||
};
|
||||
|
||||
return (
|
||||
<div className={styles['input-wrapper']}>
|
||||
<BorderedInput
|
||||
@@ -31,6 +37,7 @@ const SmartSearch: FC<SmartSearchProps> = ({ updateSearchResults }) => {
|
||||
onChange={handleSearchInput}
|
||||
placeholder={placeHolder}
|
||||
containerClassName={cx(styles['input-container'])}
|
||||
onKeyPress={onKeyPressClickHandler}
|
||||
/>
|
||||
<Button className={styles['button-wrapper']} onClick={handleButtonClick}>
|
||||
<SearchIcon color="white" />
|
||||
|
||||
@@ -119,6 +119,7 @@ const SeverityForm = (props: SeverityFormProps) => {
|
||||
onChange={e => handleChange(e.target.value)}
|
||||
value={severities?.name}
|
||||
fullWidth
|
||||
disabled
|
||||
/>
|
||||
</div>
|
||||
<div className={styles['custom-bordered-input']}>
|
||||
|
||||
@@ -99,9 +99,9 @@ const LeftNav: React.FC<LeftNavProps> = ({ children }) => {
|
||||
const headerContent: JSX.Element = (
|
||||
<div>
|
||||
<div className={styles.header}>
|
||||
<NaviNewLogoIcon width={32} height={32} />
|
||||
<NaviNewLogoIcon width={28} height={28} />
|
||||
{isExpanded && (
|
||||
<Typography variant="h2" color="white" style={{ marginTop: '8px' }}>
|
||||
<Typography variant="h3" color="white" style={{ marginTop: '8px' }}>
|
||||
Houston UI
|
||||
</Typography>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user