diff --git a/src/utils/OrderingDropdown.tsx b/src/utils/OrderingDropdown.tsx
index 8d112843..7010f5dd 100644
--- a/src/utils/OrderingDropdown.tsx
+++ b/src/utils/OrderingDropdown.tsx
@@ -35,7 +35,7 @@ export function OrderingDropdown(
{isButton && order.field && `Order by: "${items[order.field]}" - "${order.dir ?? 'DESC'}"`}
{toPairs(items).map(([ fieldKey, fieldValue ]) => (
diff --git a/src/utils/PaginationDropdown.tsx b/src/utils/PaginationDropdown.tsx
index 933c2e0a..f98af1a9 100644
--- a/src/utils/PaginationDropdown.tsx
+++ b/src/utils/PaginationDropdown.tsx
@@ -9,10 +9,8 @@ interface PaginationDropdownProps {
const PaginationDropdown = ({ toggleClassName, ranges, value, setValue }: PaginationDropdownProps) => (
-
- Paginate
-
-
+ Paginate
+
{ranges.map((itemsPerPage) => (
setValue(itemsPerPage)}>
{itemsPerPage} items per page
diff --git a/src/visits/charts/LineChartCard.tsx b/src/visits/charts/LineChartCard.tsx
index 5ee84f78..38c47453 100644
--- a/src/visits/charts/LineChartCard.tsx
+++ b/src/visits/charts/LineChartCard.tsx
@@ -237,7 +237,7 @@ const LineChartCard = (
Group by
-
+
{Object.entries(STEPS_MAP).map(([ value, menuText ]) => (
setStep(value as Step)}>
{menuText}
diff --git a/src/visits/helpers/OpenMapModalBtn.tsx b/src/visits/helpers/OpenMapModalBtn.tsx
index b7c19e86..32845502 100644
--- a/src/visits/helpers/OpenMapModalBtn.tsx
+++ b/src/visits/helpers/OpenMapModalBtn.tsx
@@ -42,7 +42,7 @@ const OpenMapModalBtn = ({ modalTitle, activeCities, locations = [] }: OpenMapMo
buttonRef.current) as any}>Show in map
-
+
Show all locations
Show locations in current page
diff --git a/test/utils/DropdownBtnMenu.test.tsx b/test/utils/DropdownBtnMenu.test.tsx
index 3d07ca64..30ab3d74 100644
--- a/test/utils/DropdownBtnMenu.test.tsx
+++ b/test/utils/DropdownBtnMenu.test.tsx
@@ -43,6 +43,6 @@ describe('', () => {
])('renders menu to right when expected', (right, expectedRight) => {
const wrapper = createWrapper({ right });
- expect(wrapper.find(DropdownMenu).prop('right')).toEqual(expectedRight);
+ expect(wrapper.find(DropdownMenu).prop('end')).toEqual(expectedRight);
});
});
diff --git a/test/utils/Message.test.tsx b/test/utils/Message.test.tsx
index 036a6b49..578d68b6 100644
--- a/test/utils/Message.test.tsx
+++ b/test/utils/Message.test.tsx
@@ -59,6 +59,6 @@ describe('', () => {
it.each([{ className: 'foo' }, { className: 'bar' }, {}])('renders provided classes', ({ className }) => {
const wrapper = createWrapper({ className });
- expect(wrapper.prop('className')).toEqual(className);
+ expect(wrapper.prop('className')).toEqual(`g-0${className ? ` ${className}` : ''}`);
});
});