diff options
author | crupest <crupest@outlook.com> | 2021-05-06 15:44:52 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-05-06 15:44:52 +0800 |
commit | 0801fc5af7c21822a9575bcebe8eaf03c5adc7f4 (patch) | |
tree | a3675913b9dc3fe9cbd343120ed16b5172b41782 /FrontEnd/src/app/views/common/SearchInput.tsx | |
parent | 7f87f177ab07bcf26c46128b9d19a5962d7abe5d (diff) | |
parent | d4ecfedd9b8fa203ec5461a758e83991823d2d1c (diff) | |
download | timeline-0801fc5af7c21822a9575bcebe8eaf03c5adc7f4.tar.gz timeline-0801fc5af7c21822a9575bcebe8eaf03c5adc7f4.tar.bz2 timeline-0801fc5af7c21822a9575bcebe8eaf03c5adc7f4.zip |
Merge branch 'dependabot/npm_and_yarn/FrontEnd/bootstrap-5.0.0'
Diffstat (limited to 'FrontEnd/src/app/views/common/SearchInput.tsx')
-rw-r--r-- | FrontEnd/src/app/views/common/SearchInput.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/FrontEnd/src/app/views/common/SearchInput.tsx b/FrontEnd/src/app/views/common/SearchInput.tsx index 76e7884c..c2234cb9 100644 --- a/FrontEnd/src/app/views/common/SearchInput.tsx +++ b/FrontEnd/src/app/views/common/SearchInput.tsx @@ -39,27 +39,27 @@ const SearchInput: React.FC<SearchInputProps> = (props) => { return ( <Form - inline className={classnames( + "d-flex", alwaysOneline ? "flex-nowrap" : "flex-sm-nowrap", props.className )} > <Form.Control - className="mr-sm-2 flex-grow-1" + className="me-sm-2 flex-grow-1" value={props.value} onChange={onInputChange} onKeyPress={onInputKeyPress} placeholder={props.placeholder} /> {props.additionalButton ? ( - <div className="mt-2 mt-sm-0 flex-shrink-0 order-sm-last ml-sm-2"> + <div className="mt-2 mt-sm-0 flex-shrink-0 order-sm-last ms-sm-2"> {props.additionalButton} </div> ) : null} <div className={classnames( - alwaysOneline ? "mt-0 ml-2" : "mt-2 mt-sm-0 ml-auto ml-sm-0", + alwaysOneline ? "mt-0 ms-2" : "mt-2 mt-sm-0 ms-auto ms-sm-0", "flex-shrink-0" )} > |