UNPKG

react-super

Version:
68 lines (59 loc) 970 B
.react-resizable-handle { position: absolute; /* background-color: #1677ff; */ } .react-resizable-handle-n { width: calc(100% - 12px); height: 3px; cursor: n-resize; left: 6px; top: 0; } .react-resizable-handle-w { width: 3px; height: calc(100% - 12px); top: 6px; left: 0; cursor: w-resize; } .react-resizable-handle-e { width: 3px; height: calc(100% - 12px); right: 0; top: 6px; cursor: e-resize; } .react-resizable-handle-s { width: calc(100% - 12px); height: 3px; bottom: 0; left: 6px; cursor: s-resize; } .react-resizable-handle-nw { width: 6px; height: 6px; cursor: nw-resize; top: 0; left: 0; } .react-resizable-handle-ne { width: 6px; height: 6px; right: 0; top: 0; cursor: ne-resize; } .react-resizable-handle-sw { width: 6px; height: 6px; bottom: 0; cursor: sw-resize; } .react-resizable-handle-se { width: 6px; height: 6px; bottom: 0px; right: 0px; cursor: se-resize; }