Skip to content

Commit

Permalink
Update cursors
Browse files Browse the repository at this point in the history
  • Loading branch information
mwbernard committed Nov 24, 2023
1 parent 09ec4ae commit 47f2d73
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
8 changes: 8 additions & 0 deletions vacs-map-app/src/components/CropFilters.vue
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ const futureScenarios = computed(() => {
margin-left: auto;
}
.sort-by select {
cursor: pointer;
}
.sort-order {
display: flex;
gap: 0.5rem;
Expand All @@ -112,4 +116,8 @@ const futureScenarios = computed(() => {
display: flex;
gap: 0.25rem;
}
.sort-order label, .sort-order input {
cursor: pointer;
}
</style>
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ const selectedExtent = computed(() => {
];
});
const selectedColumnQuintiles = computed(() => {
if (!selectedColumn.value) return null;
return cropYieldsStore.getQuintiles(selectedColumn.value);
Expand Down
3 changes: 1 addition & 2 deletions vacs-map-app/src/components/MapHomepage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ import { useFiltersStore } from '@/stores/filters'
import { useCropYieldsStore } from '@/stores/cropYields'
import { useGridStore } from '@/stores/grid'
import * as d3 from 'd3'
import { geoChamberlinAfrica } from 'd3-geo-projection'
import { divergingScheme } from '../utils/colors'
const filtersStore = useFiltersStore()
Expand Down Expand Up @@ -177,6 +176,6 @@ svg {
/* we can switch to using d3 for animation if we want, but css transitions/animations
can also pretty powerful */
svg .grid-cell {
transition: fill 750ms ease-in-out;
transition: fill 750ms linear;
}
</style>

0 comments on commit 47f2d73

Please sign in to comment.