@eturnity/eturnity_reusable_components 1.1.27 → 1.1.28

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": "@eturnity/eturnity_reusable_components",
3
- "version": "1.1.27",
3
+ "version": "1.1.28",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
@@ -6,7 +6,7 @@
6
6
  ref="dropdownItem"
7
7
  :disabled="disabled"
8
8
  >
9
- <component-container :colSpan="colSpan" class="table-dropdown">
9
+ <component-container :colSpan="colSpan - 1" class="table-dropdown">
10
10
  <component-item v-for="(item, index) in tableItems" :key="index">
11
11
  <template-button
12
12
  @click.stop="onTemplateClick(item.row)"
@@ -161,7 +161,7 @@ const ComponentItem = styled.div`
161
161
  const containerAttrs = { colSpan: Number }
162
162
  const ComponentContainer = styled("div", containerAttrs)`
163
163
  display: grid;
164
- grid-template-columns: repeat(${(props) => props.colSpan}, minmax(0, 1fr)) auto;
164
+ grid-template-columns: 1fr repeat(${(props) => props.colSpan}, auto) auto;
165
165
  grid-gap: 12px;
166
166
  align-items: center;
167
167
  background-color: ${(props) => props.theme.colors.white};
@@ -217,7 +217,7 @@ const OptionsWrapper = styled.div`
217
217
 
218
218
  const OptionsItem = styled("div", containerAttrs)`
219
219
  display: grid;
220
- grid-template-columns: repeat(${(props) => props.colSpan}, minmax(0, 1fr));
220
+ grid-template-columns: 1fr repeat(${(props) => props.colSpan}, auto);
221
221
  grid-gap: 12px;
222
222
  padding: 10px;
223
223
  height: max-content;