bfg-common 1.3.278 → 1.3.280

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.
@@ -29,15 +29,25 @@
29
29
  :key="row.name"
30
30
  >
31
31
  <td
32
- :class="{
33
- 'row-name-container-with-collapse': props.withCollapse,
34
- }"
32
+ :class="[
33
+ 'row-name-container',
34
+ {
35
+ 'row-name-container-with-collapse': props.withCollapse,
36
+ },
37
+ ]"
35
38
  >
36
39
  <span :class="{ 'row-name-with-collapse': props.withCollapse }">
37
40
  {{ row.name }}
38
41
  </span>
39
42
  </td>
40
- <td>
43
+ <td
44
+ :class="[
45
+ 'row-value-container',
46
+ {
47
+ 'row-value-container-with-collapse': props.withCollapse,
48
+ },
49
+ ]"
50
+ >
41
51
  <span class="settings-table__values">
42
52
  <template v-if="Array.isArray(row.value)">
43
53
  <template v-if="row.value.length > 0">
@@ -167,7 +177,12 @@ const onToggle = (): void => {
167
177
  }
168
178
  }
169
179
  }
170
- tr td.row-name-container-with-collapse {
180
+ tr td.row-name-container,
181
+ tr td.row-value-container {
182
+ padding: 2px 0;
183
+ }
184
+ tr td.row-name-container-with-collapse,
185
+ tr td.row-value-container-with-collapse {
171
186
  padding: 6px 0;
172
187
  }
173
188
  }
@@ -34,7 +34,8 @@ export const removeImagesFromContent = (dirPath: string) => {
34
34
  if (isDir) {
35
35
  removeImagesFromContent(filePath)
36
36
  } else {
37
- if (isImage(file)) {
37
+ // if (isImage(file)) { // закоментировал т.к. на проде долго загружалась документация(стр. /help)
38
+ if (!isMdFile(file)) {
38
39
  fs.unlinkSync(filePath)
39
40
  } else if (isMdFile(file) && filePath.includes('_index.md')) {
40
41
  // Удаляем префикс "_" у индексных файлов
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.3.278",
4
+ "version": "1.3.280",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",