shared-ritm 1.3.133 → 1.3.136

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.
@@ -19,7 +19,7 @@
19
19
  :slots="slots"
20
20
  :hide-pagination="hidePagination"
21
21
  v-on="props.tableEvents"
22
- @update:selectedRows="rows => emit('update:selectedRows', rows)"
22
+ @update:selected-rows="rows => emit('update:selectedRows', rows)"
23
23
  >
24
24
  <template v-for="name in cellSlotsNames" :key="name" #[name]="{ cellProps }">
25
25
  <slot :name="name" :row="cellProps.row" />
@@ -105,11 +105,12 @@ const isActionsSlot = computed(() => 'actions' in slots)
105
105
 
106
106
  .search-input {
107
107
  flex: 1;
108
+ border-radius: 6px;
108
109
  }
109
110
 
110
111
  ::v-deep(.q-btn) {
111
112
  flex-shrink: 0;
112
- border-radius: 2px;
113
+ border-radius: 6px;
113
114
  background: #fff;
114
115
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
115
116
  color: #3f8cff;
@@ -134,4 +135,24 @@ const isActionsSlot = computed(() => 'actions' in slots)
134
135
  .loader-spinner {
135
136
  z-index: 11;
136
137
  }
138
+ @media (min-width: 768px) and (max-width: 1024px) {
139
+ .table-layout {
140
+ height: 100%;
141
+ display: grid;
142
+ grid-template-rows: auto 1fr auto;
143
+ gap: 12px;
144
+ }
145
+ .table-controls {
146
+ gap: 8px;
147
+
148
+ .search-input {
149
+ height: 44px;
150
+ }
151
+
152
+ ::v-deep(.q-btn) {
153
+ height: 44px;
154
+ width: 44px;
155
+ }
156
+ }
157
+ }
137
158
  </style>
@@ -73,4 +73,11 @@ watch(input, val => {
73
73
  border-color: #3f8cff;
74
74
  }
75
75
  }
76
+ @media (min-width: 768px) and (max-width: 1024px) {
77
+ ::v-deep(.q-field__control) {
78
+ height: 44px !important;
79
+ display: flex;
80
+ align-items: center;
81
+ }
82
+ }
76
83
  </style>