saleor-dashboard/src/components/LinkChoice/styles.ts
Dawid 537cce95a7
Fix dropdown buttons styles (#2151)
* Fix filterStructure typo, fixes #2140

* Fix dropdown button styles

* Update assign warehouse button to product or variant

* Update test snapshots
2022-07-19 16:10:10 +02:00

40 lines
786 B
TypeScript

import { makeStyles } from "@saleor/macaw-ui";
export const useStyles = makeStyles(
theme => ({
arrow: {
position: "relative",
top: 6,
transition: theme.transitions.duration.short + "ms",
},
highlighted: {
background: theme.palette.background.default,
},
menuItem: {
"&:not(:last-of-type)": {
marginBottom: theme.spacing(),
},
borderRadius: 4,
},
paper: {
padding: theme.spacing(),
},
popper: {
marginTop: theme.spacing(1),
zIndex: 2,
},
root: {
"&:focus, &:hover": {
textDecoration: "underline",
},
outline: 0,
position: "relative",
},
rotate: {
transform: "rotate(180deg)",
},
}),
{
name: "LinkChoice",
},
);