Skip to content

Commit e2d70ac

Browse files
authored
(fix) Fix the search bar UI shown in overlay menus (#603)
1 parent 92732fa commit e2d70ac

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

packages/esm-appointments-app/src/patient-search/patient-search.scss

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99
[data-extension-id='patient-search-bar'] {
1010
& > div {
1111
width: 100%;
12-
& form {
13-
margin: 0.0125rem;
14-
}
12+
1513
& input {
1614
background-color: $ui-02;
1715
border-bottom: none;

packages/esm-patient-search-app/src/compact-patient-search-extension/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ const CompactPatientSearchComponent: React.FC<CompactPatientSearchProps> = ({
8484
<div className={styles.patientSearchBar}>
8585
<form onSubmit={handleSubmit} className={styles.searchArea}>
8686
<Search
87+
autoFocus
8788
className={styles.patientSearchInput}
8889
closeButtonLabelText={t('clearSearch', 'Clear')}
8990
labelText=""

packages/esm-patient-search-app/src/patient-search-bar/patient-search-bar.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
display: flex;
88
justify-content: center;
99
align-items: center;
10-
border: 1px solid $ui-04;
1110
}
1211

1312
.patientSearchInput {

0 commit comments

Comments
 (0)