DmitrMakeev commited on
Commit
03fcd6a
·
verified ·
1 Parent(s): acbd286

Update builder2.html

Browse files
Files changed (1) hide show
  1. builder2.html +6 -6
builder2.html CHANGED
@@ -6,7 +6,7 @@
6
  <link rel="stylesheet" href="https://unpkg.com/grapesjs/dist/css/grapes.min.css">
7
  <script src="https://unpkg.com/grapesjs"></script>
8
  <script src="https://unpkg.com/grapesjs-plugin-forms"></script>
9
- <script src="https://unpkg.com/grapesjs-custom-code"></script>
10
  <style>
11
  body, html {
12
  height: 100%;
@@ -14,14 +14,13 @@
14
  }
15
  .image-container {
16
  display: flex;
17
- flex-wrap: wrap;
18
  justify-content: space-between;
 
19
  }
20
  .image-container img {
21
- width: 33%;
22
  height: auto;
23
- margin-bottom: 20px; /* Увеличено расстояние между изображениями */
24
- padding: 0 10px; /* Добавлено небольшое расстояние между изображениями */
25
  }
26
  @media (max-width: 768px) {
27
  .image-container {
@@ -29,7 +28,7 @@
29
  }
30
  .image-container img {
31
  width: 100%;
32
- padding: 0; /* Убираем отступы на мобильных устройствах */
33
  }
34
  }
35
  </style>
@@ -153,6 +152,7 @@
153
  },
154
  modalTitle: 'Insert your code',
155
  buttonLabel: 'Save',
 
156
  codeViewOptions: {
157
  theme: 'hopscotch',
158
  readOnly: 0
 
6
  <link rel="stylesheet" href="https://unpkg.com/grapesjs/dist/css/grapes.min.css">
7
  <script src="https://unpkg.com/grapesjs"></script>
8
  <script src="https://unpkg.com/grapesjs-plugin-forms"></script>
9
+ <script src="path/to/grapesjs-custom-code.min.js"></script>
10
  <style>
11
  body, html {
12
  height: 100%;
 
14
  }
15
  .image-container {
16
  display: flex;
 
17
  justify-content: space-between;
18
+ margin-top: 20px; /* Поднятие картинок выше формы */
19
  }
20
  .image-container img {
21
+ width: 30%;
22
  height: auto;
23
+ margin: 0 10px; /* Увеличение расстояния между картинками */
 
24
  }
25
  @media (max-width: 768px) {
26
  .image-container {
 
28
  }
29
  .image-container img {
30
  width: 100%;
31
+ margin: 10px 0; /* Увеличение расстояния между картинками на мобильных устройствах */
32
  }
33
  }
34
  </style>
 
152
  },
153
  modalTitle: 'Insert your code',
154
  buttonLabel: 'Save',
155
+ placeholderScript: '// Your JavaScript code here', // Плейсхолдер для скрипта
156
  codeViewOptions: {
157
  theme: 'hopscotch',
158
  readOnly: 0