Skip to content

Commit 60dfbaf

Browse files
committed
changed the dropdown icons to chevrons
1 parent 092579a commit 60dfbaf

4 files changed

Lines changed: 13 additions & 3 deletions

File tree

vis/js/templates/ScaleToolbar.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,12 @@ const ScaleToolbar = ({
3131
<div className="dropdown">
3232
<DropdownButton
3333
id="scale-menu"
34+
noCaret
3435
title={
3536
<>
3637
{localization.scale_by_label}{" "}
37-
<span id="curr-filter-type">{labels[value]}</span>
38+
<span id="curr-filter-type">{labels[value]}</span>{" "}
39+
<i className="fas fa-chevron-down chevron"></i>
3840
</>
3941
}
4042
>

vis/js/templates/filtersort/FilterDropdown.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,11 @@ const FilterDropdown = ({
2525
<div className="dropdown" id="filter_parameter_container">
2626
<DropdownButton
2727
id="filter_params"
28+
noCaret
2829
title={
2930
<>
30-
{label} <span id="curr-filter-type">{valueLabel}</span>
31+
{label} <span id="curr-filter-type">{valueLabel}</span>{" "}
32+
<i className="fas fa-chevron-down chevron"></i>
3133
</>
3234
}
3335
>

vis/js/templates/filtersort/SortDropdown.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,11 @@ const SortDropdown = ({ label, value, valueLabel, options, handleChange }) => {
2222
>
2323
<DropdownButton
2424
id="sort"
25+
noCaret
2526
title={
2627
<>
27-
{label} <span id="curr-sort-type">{valueLabel}</span>
28+
{label} <span id="curr-sort-type">{valueLabel}</span>{" "}
29+
<i className="fas fa-chevron-down chevron"></i>
2830
</>
2931
}
3032
>

vis/stylesheets/components/_buttons.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,10 @@ img#close-button {
257257
}
258258
}
259259

260+
.dropdown .chevron {
261+
font-size: 10px;
262+
}
263+
260264
@media screen and (max-width: 1150px) {
261265
#modals .btn, .reload-button.small-reload {
262266
font-size: 13px;

0 commit comments

Comments
 (0)