ant-design-x-vue
Version:
Craft AI-driven interfaces effortlessly
28 lines (27 loc) • 595 B
JavaScript
const t = (r) => {
const { componentCls: o, padding: l } = r;
return {
[`${o}-list`]: {
display: "flex",
flexDirection: "column",
gap: l,
overflowY: "auto",
"&::-webkit-scrollbar": {
width: 8,
backgroundColor: "transparent"
},
"&::-webkit-scrollbar-thumb": {
backgroundColor: r.colorTextTertiary,
borderRadius: r.borderRadiusSM
},
// For Firefox
"&": {
scrollbarWidth: "thin",
scrollbarColor: `${r.colorTextTertiary} transparent`
}
}
};
};
export {
t as default
};