@aplus-frontend/ui
Version:
2 lines (1 loc) • 1.03 kB
JavaScript
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("../../../utils/cssinjs/index.js"),t=e=>({[`${e.componentCls}`]:{[`${e.componentCls}--table-layout`]:{display:"flex",justifyContent:"space-between",height:"100%","&.complex-layout":{height:"100%",position:"relative"},"&-left":{flex:1,minWidth:0,paddingInlineEnd:e.spaceXL,boxSizing:"border-box",display:"flex",flexDirection:"column","&-content":{flex:1,".ant-table-body":{height:"100%"}}},"&-right":{maxHeight:e.apTableModalRightMaxHeight,width:e.apTableModalRightWidth,paddingInlineStart:e.spaceXL,position:"relative",display:"flex",flexDirection:"column","&-content":{flex:1,overflowY:"auto"},"&::before":{content:'""',height:"calc(100% + 16px)",width:e.lineWidth,backgroundColor:e.borderColorBase,position:"absolute",left:0,top:"-16px"}}}}}),o=l.genComponentStyleHook("ApTable.Modal",e=>[t(e)],{apTableModalRightWidth:410,apTableModalRightMaxHeight:640});exports.default=o;exports.genApTableModalStyle=t;
;