Skip to content

Commit

Permalink
(Fix) UI Issue with Jumbled Search Results when PatientSearchBar Comp…
Browse files Browse the repository at this point in the history
…onent is used in a workspace (#1257)

* fix: ui bug that jumbles up ui on small windows

* refactor: scope patient search bar rule to only searchBarWrapper

* refactor: use carbon styling for height

* fix: 50vw width on small windows

---------

Co-authored-by: Dennis Kigen <[email protected]>
  • Loading branch information
amosmachora and denniskigen authored Aug 2, 2024
1 parent da907fc commit 120257c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,20 @@
padding: spacing.$spacing-05;
}

[data-extension-id='patient-search-bar'] {
& > div {
width: 100%;
.searchBarWrapper {
[data-extension-id='patient-search-bar'] {
& > div {
width: 100%;

& input {
background-color: $ui-02;
border-bottom: none;
min-height: spacing.$spacing-09;
}
& input {
background-color: $ui-02;
border-bottom: none;
min-height: spacing.$spacing-09;
}

& button {
height: spacing.$spacing-09;
& button {
height: spacing.$spacing-09;
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
@import '../root.scss';

.patientSearchBar {
width: 50vw;
width: 100%;
position: relative;
}

Expand Down

0 comments on commit 120257c

Please sign in to comment.