Skip to content

Commit 5271909

Browse files
committed
Fix StopTimetablesButton
1 parent 92b5d25 commit 5271909

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

ui/src/components/stop-registry/stops/stop-details/title-row/StopTimetablesButton.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import noop from 'lodash/noop';
12
import { FC } from 'react';
23
import { useTranslation } from 'react-i18next';
34
import { twJoin } from 'tailwind-merge';
@@ -19,13 +20,14 @@ export const StopTimetablesButton: FC<StopTimetablesButtonProps> = ({
1920

2021
return (
2122
<SimpleButton
22-
shape="compact"
23+
shape="round"
2324
inverted
24-
className={twJoin('px-2', className)}
25+
className={twJoin('h-11 w-11', className)}
2526
testId={testIds.button}
2627
tooltip={t('accessibility:stops.stopTimetablesButton')}
2728
disabled={disabledUntilImplemented}
2829
type="button"
30+
onClick={noop}
2931
>
3032
<i aria-hidden className="icon-calendar text-2xl text-brand" />
3133
</SimpleButton>

0 commit comments

Comments
 (0)