@aplus-frontend/ui
Version:
24 lines (23 loc) • 517 B
JavaScript
import { genComponentStyleHook as e } from "../../utils/cssinjs/index.mjs";
const o = (t) => ({
[t.componentCls]: {
"&:has(.ant-typography-ellipsis)": {
maxWidth: "100%",
"& > .ant-space-item": {
maxWidth: "100%"
}
},
"&--horizontal": {
width: "100%",
overflow: "hidden",
position: "relative",
".ant-typography": {
whiteSpace: "nowrap"
}
}
}
}), p = e("ApText", (t) => [o(t)]);
export {
p as default,
o as genApTextGroupStyle
};