We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58423d2 commit 4f07d6bCopy full SHA for 4f07d6b
site/src/components/StackLabel/StackLabel.tsx
@@ -10,25 +10,13 @@ import type { ComponentProps, FC } from "react";
10
*/
11
12
export const StackLabel: FC<ComponentProps<typeof Stack>> = (props) => {
13
- return (
14
- <Stack
15
- spacing={0.5}
16
- css={{ paddingLeft: 12, fontWeight: 500 }}
17
- {...props}
18
- />
19
- );
+ return <Stack spacing={0.5} className="pl-3 font-medium" {...props} />;
20
};
21
22
export const StackLabelHelperText: FC<FormHelperTextProps> = (props) => {
23
return (
24
<FormHelperText
25
- css={(theme) => ({
26
- marginTop: 0,
27
-
28
- "& strong": {
29
- color: theme.palette.text.primary,
30
- },
31
- })}
+ className="m-0 [&_strong]:text-content-primary"
32
{...props}
33
/>
34
);
0 commit comments