@primer/css
Version:
Primer is the CSS framework that powers GitHub's front-end design. primer includes 23 packages that are grouped into 3 core meta-packages for easy install. Each package and meta-package is independently versioned and distributed via npm, so it's easy to i
1 lines • 1 kB
Source Map (JSON)
{"version":3,"sources":["../src/src/truncate/truncate.scss"],"names":[],"mappings":"AAIA,qEAQI,oBAAqB,CACrB,eAAgB,CAChB,eAAgB,CAChB,sBAAuB,CACvB,kBAAmB,CACnB,kBAAmB,CAbvB,gPAoBI,4BAA6B","file":"truncate.css","sourcesContent":["// Truncate\n//\n// css-truncate will shorten text with an ellipsis.\n\n.css-truncate {\n // Truncate double target\n //\n // css-truncate will shorten text with an ellipsis. The maximum width\n // of the truncated text can be changed by overriding the max-width\n // of the .css-truncate-target\n &.css-truncate-target,\n .css-truncate-target {\n display: inline-block;\n max-width: 125px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n vertical-align: top;\n }\n\n &.expandable.zeroclipboard-is-hover .css-truncate-target,\n &.expandable.zeroclipboard-is-hover.css-truncate-target,\n &.expandable:hover .css-truncate-target,\n &.expandable:hover.css-truncate-target {\n max-width: 10000px !important;\n }\n}\n"]}