ultimate-jekyll-manager 1.1.7 → 1.1.8
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/CHANGELOG.md
CHANGED
|
@@ -14,6 +14,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|
|
14
14
|
- `Fixed` for any bug fixes.
|
|
15
15
|
- `Security` in case of vulnerabilities.
|
|
16
16
|
|
|
17
|
+
---
|
|
18
|
+
## [1.1.8] - 2026-04-22
|
|
19
|
+
### Changed
|
|
20
|
+
- Widen backend sidebar from 282px to 283px so inner content (after `p-3` horizontal padding) clears the 250px minimum required by Google AdSense units
|
|
21
|
+
- Apply same 283px width to mobile offcanvas sidebar (`#mobileSidebar`) via `--bs-offcanvas-width` to override Bootstrap's default 400px
|
|
22
|
+
- Simplify admin firebase page cell rendering: drop redundant `String()` wrapping around values passed to `escapeHTML()` (already coerces to string internally)
|
|
23
|
+
|
|
17
24
|
---
|
|
18
25
|
## [1.1.7] - 2026-04-10
|
|
19
26
|
### Changed
|
|
@@ -82,9 +82,17 @@ button *, a * {
|
|
|
82
82
|
// ============================================
|
|
83
83
|
// Sidebar
|
|
84
84
|
// ============================================
|
|
85
|
+
// Inner content area MUST be > 250px to fit a 250px-wide Google AdSense unit.
|
|
86
|
+
// Math: 250px content + 2 × 16px (p-3 horizontal padding) + 1px safety = 283px outer.
|
|
85
87
|
.sidebar {
|
|
86
|
-
width:
|
|
87
|
-
min-width:
|
|
88
|
+
width: 283px;
|
|
89
|
+
min-width: 283px;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
// Mobile offcanvas sidebar — override Bootstrap's default 400px.
|
|
93
|
+
// Same math as above: 283px outer → ~251px inner content after p-3 padding.
|
|
94
|
+
#mobileSidebar {
|
|
95
|
+
--bs-offcanvas-width: 283px;
|
|
88
96
|
}
|
|
89
97
|
|
|
90
98
|
.sidebar-logo {
|
|
@@ -303,7 +303,7 @@ function renderDocuments() {
|
|
|
303
303
|
|
|
304
304
|
columns.forEach((col) => {
|
|
305
305
|
const value = getNestedValue(doc.data, col);
|
|
306
|
-
cells += `<td class="small text-truncate" style="max-width: 180px;" title="${webManager.utilities().escapeHTML(
|
|
306
|
+
cells += `<td class="small text-truncate" style="max-width: 180px;" title="${webManager.utilities().escapeHTML(value ?? '')}">${renderCellValue(value)}</td>`;
|
|
307
307
|
});
|
|
308
308
|
|
|
309
309
|
cells += `<td>
|
|
@@ -408,7 +408,7 @@ function renderCellValue(value) {
|
|
|
408
408
|
if (typeof value === 'number') {
|
|
409
409
|
// Check if it looks like a UNIX timestamp (reasonable range)
|
|
410
410
|
if (value > 1000000000 && value < 10000000000) {
|
|
411
|
-
return `<span title="${webManager.utilities().escapeHTML(
|
|
411
|
+
return `<span title="${webManager.utilities().escapeHTML(value)}">${webManager.utilities().escapeHTML(new Date(value * 1000).toLocaleDateString())}</span>`;
|
|
412
412
|
}
|
|
413
413
|
return webManager.utilities().escapeHTML(value.toLocaleString());
|
|
414
414
|
}
|