myliang / x-spreadsheet

The project has been migrated to @wolf-table/table https://github.com/wolf-table/table
https://myliang.github.io/x-spreadsheet
MIT License
14.16k stars 1.7k forks source link

.less #667

Open Lennart-Lucas opened 1 year ago

Lennart-Lucas commented 1 year ago

There's an issue with the .less file, which stems from a komma which shouldn't be there on line 455. It should look something like this:

`.x-spreadsheet-item, .x-spreadsheet-header {

&.state { padding-left: 35px!important; position: relative;

&:before {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  left: 12px;
  top: calc(50% - 5px);
  background: rgba(0, 0, 0, 0.08);
  // border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 2px;
}

} &.state.checked:before { background: #4b89ff; // content: ''; // position: absolute; // width: 5px; // height: 12px; // color: #4b89ff; // #353A41; // border-left: none; // border-top: none; // border-bottom: 2px solid; // border-right: 2px solid; // left: 15px; // top: 6px; // background: none; // border-radius: 0; // transform-origin: center; // transform: rotate(45deg); // -webkit-transform: rotate(45deg); }

}`

I tried to make a pull request but wasn't allowed.