diff --git a/frontend/src/components/buttons/MobileButton.tsx b/frontend/src/components/buttons/MobileButton.tsx
new file mode 100644
index 0000000000..5260df3d37
--- /dev/null
+++ b/frontend/src/components/buttons/MobileButton.tsx
@@ -0,0 +1,19 @@
+import React from 'react';
+import { Button, ButtonProps } from '@mui/material';
+
+const MobileButton = (props: ButtonProps) => {
+ return (
+
+ );
+};
+
+export default MobileButton;
diff --git a/frontend/src/components/buttons/MobileIconButton.tsx b/frontend/src/components/buttons/MobileIconButton.tsx
new file mode 100644
index 0000000000..5202dee1d6
--- /dev/null
+++ b/frontend/src/components/buttons/MobileIconButton.tsx
@@ -0,0 +1,19 @@
+import React from 'react';
+import { IconButton, IconButtonProps } from '@mui/material';
+
+const MobileIconButton = (props: IconButtonProps) => {
+ return (
+
+ );
+};
+
+export default MobileIconButton;
diff --git a/frontend/src/components/buttons/index.ts b/frontend/src/components/buttons/index.ts
new file mode 100644
index 0000000000..1d6ed5bd49
--- /dev/null
+++ b/frontend/src/components/buttons/index.ts
@@ -0,0 +1,2 @@
+export { default as MobileButton } from './MobileButton';
+export { default as MobileIconButton } from './MobileIconButton';
diff --git a/frontend/src/features/comparisons/inputs/CriteriaButtons.tsx b/frontend/src/features/comparisons/inputs/CriteriaButtons.tsx
index a9f33a3d41..4b3d3f3d3b 100644
--- a/frontend/src/features/comparisons/inputs/CriteriaButtons.tsx
+++ b/frontend/src/features/comparisons/inputs/CriteriaButtons.tsx
@@ -3,7 +3,7 @@ import { useTranslation } from 'react-i18next';
import { useDrag } from '@use-gesture/react';
import { Vector2 } from '@use-gesture/core/types';
-import { Box, Fade, IconButton, Slide } from '@mui/material';
+import { Box, Fade, Slide } from '@mui/material';
import { ArrowDropDown, ArrowDropUp } from '@mui/icons-material';
import { useCurrentPoll } from 'src/hooks';
@@ -14,6 +14,7 @@ import { ComparisonRequest } from 'src/services/openapi';
import CriterionButtons, { BUTTON_SCORE_MAX } from './CriterionButtons';
import { useOrderedCriteria } from 'src/hooks/useOrderedCriteria';
+import { MobileIconButton } from 'src/components/buttons';
const SWIPE_TIMEOUT = 180;
const SWIPE_VELOCITY: number | Vector2 = [0.25, 0.25];
@@ -215,15 +216,14 @@ const CriteriaButtons = ({
justifyContent="center"
visibility={navigationDisabled ? 'hidden' : 'visible'}
>
- moveWithoutPatching('down')}
disabled={disableScoreButtons || navigationDisabled}
- sx={{ bgcolor: 'background.mobileButton' }}
>
-
+
- moveWithoutPatching('up')}
disabled={disableScoreButtons || navigationDisabled}
- sx={{ bgcolor: 'background.mobileButton' }}
>
-
+
);
diff --git a/frontend/src/features/comparisons/inputs/CriterionButtons.tsx b/frontend/src/features/comparisons/inputs/CriterionButtons.tsx
index 5653337dde..038f48f4c2 100644
--- a/frontend/src/features/comparisons/inputs/CriterionButtons.tsx
+++ b/frontend/src/features/comparisons/inputs/CriterionButtons.tsx
@@ -93,7 +93,7 @@ const ScoreButton = ({
color: undefined,
backgroundColor: selected
? theme.palette.primary.main
- : 'grey.200',
+ : theme.palette.background.mobileButton,
},
}}
>
diff --git a/frontend/src/features/entity_selector/AutoEntityButton.tsx b/frontend/src/features/entity_selector/AutoEntityButton.tsx
index af5411edc8..ccb28f384f 100644
--- a/frontend/src/features/entity_selector/AutoEntityButton.tsx
+++ b/frontend/src/features/entity_selector/AutoEntityButton.tsx
@@ -8,6 +8,7 @@ import { useCurrentPoll } from 'src/hooks/useCurrentPoll';
import { theme } from 'src/theme';
import { YOUTUBE_POLL_NAME } from 'src/utils/constants';
import { ComparisonsContext } from 'src/pages/comparisons/Comparison';
+import { MobileButton } from 'src/components/buttons';
interface Props {
onClick: () => Promise;
@@ -36,7 +37,7 @@ const AutoEntityButton = ({
return (
<>
{smallScreen && variant === 'compact' ? (
-
+
) : (
{smallScreen && variant === 'compact' ? (
-
-
+
) : (