Skip to content

Commit

Permalink
Clean up styles
Browse files Browse the repository at this point in the history
  • Loading branch information
pjsier committed Jan 15, 2024
1 parent d7e0dab commit ae378fa
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion client/src/components/Map/Map.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ class PraxisMap extends Component {
mapOptions={{ attributionControl: false }}
mapStyle={basemapLayer}
width="100vw"
height="100vh"
height="100dvh"
minZoom={10}
maxZoom={18}
mapboxApiAccessToken={MAPBOX_TOKEN}
Expand Down
1 change: 1 addition & 0 deletions client/src/components/Search/PrimarySearchResults.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ class PrimaryResults extends Component {
aria-selected={(i === index).toString()}
className={i % 2 ? "list-item-odd" : "list-item-even"}
style={i === index ? { backgroundColor: uiMedGray } : null}
onClick={this._handleOnClick}
to={searchQueryRoute}
>
<img src={primaryResultIcons[type]} alt={type} />
Expand Down
2 changes: 1 addition & 1 deletion client/src/scss/Results.scss
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
.results-drawer-enter-active,
.results-drawer-enter-done,
.results-drawer-appear {
height: calc(100vh - 120px);
height: calc(100dvh - 120px);
transition: height 300ms;
overflow: hidden;
}
Expand Down
9 changes: 4 additions & 5 deletions client/src/scss/Search.scss
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ button {

input[type="text"] {
flex: 1;
padding: 12px 20px;
padding: 12px;
box-sizing: inherit;
border: none;
border-radius: 0;
Expand Down Expand Up @@ -142,13 +142,12 @@ input[type="text"] {
}

.clear-button {
width: 36px;
padding-left: 5px;
text-align: center;
box-sizing: inherit;
background: $ui-white;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
display: block;
font-size: 45px;
color: $ui-dark-gray;
}
Expand Down

0 comments on commit ae378fa

Please sign in to comment.