flameresttable 1.0.34 → 1.0.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flameresttable",
3
- "version": "1.0.34",
3
+ "version": "1.0.36",
4
4
  "main": "./src/plugin.ts",
5
5
  "repository": {
6
6
  "type": "git",
@@ -46,7 +46,7 @@
46
46
  <div class="table-header-group">
47
47
 
48
48
  <!-- ЧЕКБОКСЫ -->
49
- <div class="table-cell w-[65px] align-middle">
49
+ <div class="table-cell w-[21px] align-middle">
50
50
  <label class="checkbox" v-if="Table.opts.rowSelectors">
51
51
  <input type='checkbox' @change="CheckboxSelectionChanged($event, true)">
52
52
  <span class='indicator'></span>
@@ -78,7 +78,7 @@
78
78
  <div :key="'row_' + (row as any).id" class="defaultRow table-row cursor-pointer hover:bg-slate-100" v-if="true">
79
79
 
80
80
  <!-- ЧЕКБОКСЫ -->
81
- <div class="table-cell align-middle">
81
+ <div class="table-cell align-middle w-[21px]">
82
82
  <label class="checkbox" v-if="Table.opts.rowSelectors">
83
83
  <input type='checkbox' v-model="Table.RowsParams[(row as any)[primaryKey]].selected"
84
84
  @change="CheckboxSelectionChanged($event, false)">
@@ -477,7 +477,7 @@ $white: #FFFFFF;
477
477
  $border-radius: 3px;
478
478
 
479
479
  @mixin checkbox($color) {
480
- margin-right: 1rem;
480
+ //margin-right: 1rem;
481
481
  padding-left: 1.75rem;
482
482
  position: relative;
483
483
  -webkit-user-select: none;
@@ -488,6 +488,9 @@ $border-radius: 3px;
488
488
  input[type="checkbox"] {
489
489
  position: absolute;
490
490
  opacity: 0;
491
+ left: 50%;
492
+ top: 50%;
493
+ transform: translate(-50%, -50%);
491
494
 
492
495
  &:focus~span {
493
496
  border: 2px solid lighten($black, 50%);