Skip to content

Commit

Permalink
Use cases button fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rodriama committed Aug 4, 2022
1 parent 37c4386 commit 848716e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
21 changes: 11 additions & 10 deletions src/components/UseCasesMapViewer/InfoWidget.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -226,18 +226,19 @@ class InfoWidget extends React.Component {
<span>{regionFeatures.length} </span>
use cases
</div>
<div className="use-case-button-back">
<button
tabIndex="0"
onClick={() => {
navigationControl.returnToPrevious();
}}
>
<span className="esri-icon-left-arrow"></span>
Back
</button>
</div>
<div className="use-cases-products-list">
<div key={selectedRegion} className="use-cases-dropdown">
<button
className="use-case-button-back"
tabIndex="0"
onClick={() => {
navigationControl.returnToPrevious();
}}
>
<span className="esri-icon-left-arrow"></span>
Back
</button>
{this.getDataBrief(regionFeatures)}
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/UseCasesMapViewer/css/ArcgisMap.css
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@

.use-cases-products-list {
width: 100%;
max-height: 25rem;
height: 25rem;
overflow-y: auto;
}

Expand Down

0 comments on commit 848716e

Please sign in to comment.