@concretecms/bedrock 1.1.1 → 1.1.2
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.
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
// This file ensures that the layout tools work with this theme grid
|
|
2
|
+
div#ccm-theme-grid-temp,
|
|
2
3
|
div#ccm-theme-grid-edit-mode-row-wrapper {
|
|
3
|
-
|
|
4
|
-
|
|
4
|
+
div.row {
|
|
5
|
+
position: relative; // This is necessary in order for the javascript to correctly use jquery position() calls
|
|
6
|
+
}
|
|
5
7
|
}
|
|
@@ -173,8 +173,8 @@ ConcreteLayout.prototype._setupFormEvents = function () {
|
|
|
173
173
|
ConcreteLayout.prototype.buildThemeGridGrid = function () {
|
|
174
174
|
this.$element.html('')
|
|
175
175
|
|
|
176
|
-
var row =
|
|
177
|
-
row +=
|
|
176
|
+
var row = '<div id="ccm-theme-grid-edit-mode-row-wrapper">'
|
|
177
|
+
row += this.options.rowstart
|
|
178
178
|
|
|
179
179
|
var columnSpans = this._getThemeGridColumnSpan(this.columns)
|
|
180
180
|
$.each(columnSpans, function (i, spanInfo) {
|
|
@@ -213,8 +213,8 @@ ConcreteLayout.prototype._updateThemeGridView = function (presetLoad) {
|
|
|
213
213
|
|
|
214
214
|
ConcreteLayout.prototype._buildThemeGridGridFromPresetColumns = function (arLayoutColumns) {
|
|
215
215
|
this.$element.html('')
|
|
216
|
-
var row =
|
|
217
|
-
row +=
|
|
216
|
+
var row = '<div id="ccm-theme-grid-edit-mode-row-wrapper">'
|
|
217
|
+
row += this.options.rowstart
|
|
218
218
|
$.each(arLayoutColumns, function (i, column) {
|
|
219
219
|
var columnHTML = '<div id="ccm-edit-layout-column-' + i + '" class="ccm-theme-grid-column" ' +
|
|
220
220
|
'data-offset="' + column.arLayoutColumnOffset + '" data-span="' + column.arLayoutColumnSpan + '"><div class="ccm-layout-column-highlight">' +
|
package/package.json
CHANGED