Skip to content

Commit b65c672

Browse files
committed
NCD-773: Fix style error from tailwind stanza order
1 parent a1f72de commit b65c672

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/features/VoltageConfiguration/VoltageConfiguration.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import React from 'react';
88
import { useDispatch, useSelector } from 'react-redux';
99
import {
10-
Button,
1110
Card,
1211
classNames,
1312
NumberInput,
@@ -117,11 +116,12 @@ const PresetButton = ({ pmicPort, voltage, selected }: PresetButtonProps) => {
117116
const dispatch = useDispatch();
118117

119118
return (
120-
<Button
121-
variant="secondary"
119+
<button
120+
type="button"
122121
className={classNames(
123-
'tw-h-5 tw-w-full tw-border-gray-200',
124-
selected && 'tw-bg-gray-50'
122+
'tw-preflight tw-h-5 tw-w-full tw-border-gray-200 tw-px-2 tw-text-xs',
123+
'tw-border tw-text-gray-700 active:enabled:tw-bg-gray-50',
124+
selected ? 'tw-bg-gray-50' : 'tw-bg-white'
125125
)}
126126
onClick={() => {
127127
dispatch(
@@ -133,7 +133,7 @@ const PresetButton = ({ pmicPort, voltage, selected }: PresetButtonProps) => {
133133
}}
134134
>
135135
{(voltage / 1000).toFixed(1)}V
136-
</Button>
136+
</button>
137137
);
138138
};
139139

0 commit comments

Comments
 (0)