UNPKG

@yuntijs/ui

Version:

☁️ Yunti UI - an open-source UI component library for building Cloud Native web apps

12 lines 1.23 kB
import _taggedTemplateLiteral from "@babel/runtime/helpers/esm/taggedTemplateLiteral"; var _templateObject; import { createStyles } from 'antd-style'; export var useStyles = createStyles(function (_ref) { var css = _ref.css, token = _ref.token, prefixCls = _ref.prefixCls; var lableWidth = 70; return { root: css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n &.", "-descriptions {\n .", "-descriptions-row {\n & > td {\n padding-top: 4px !important;\n padding-bottom: 4px !important;\n }\n .", "-descriptions-item {\n &-container {\n .", "-descriptions-item-label {\n overflow: hidden;\n width: ", "px;\n white-space: nowrap;\n }\n .", "-descriptions-item-content {\n overflow: hidden;\n display: inline-block;\n\n width: calc(100% - ", "px);\n\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n }\n }\n }\n }\n "])), prefixCls, prefixCls, prefixCls, prefixCls, lableWidth, prefixCls, lableWidth) }; });