@cardinali-studio/adminkit 2.2.52 → 2.2.53
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/dist/app/app.css +22 -5
- package/package.json +1 -1
package/dist/app/app.css
CHANGED
|
@@ -2536,14 +2536,29 @@ body:has(.uk) .pane-body { padding-bottom: 190px; }
|
|
|
2536
2536
|
.dl-settings-shortcut:hover, .dl-settings-shortcut[aria-current] { color: var(--ak-accent); border-color: var(--ak-line); }
|
|
2537
2537
|
.dl-settings-shortcut svg { width: 18px; height: 18px; }
|
|
2538
2538
|
|
|
2539
|
+
/* The canvas is the editor sheet. Keep scrolling on the host pane. */
|
|
2540
|
+
.pane:has(> .pane-body > .dl-transfer-canvas) > .pane-head:has(> .pane-spacer:only-child) {
|
|
2541
|
+
display: none;
|
|
2542
|
+
}
|
|
2543
|
+
:root[data-admin-interface="next"] .pane-body:has(> .dl-transfer-canvas) {
|
|
2544
|
+
flex: 1 0 auto;
|
|
2545
|
+
}
|
|
2546
|
+
:root .app .pane > .pane-body:has(> .dl-work.dl-transfer-canvas) {
|
|
2547
|
+
display: flex;
|
|
2548
|
+
flex-direction: column;
|
|
2549
|
+
padding: 0;
|
|
2550
|
+
}
|
|
2539
2551
|
.dl-work.dl-transfer-canvas {
|
|
2540
2552
|
--dl-paper: #edf2f7;
|
|
2541
2553
|
--dl-caption: #1a2835;
|
|
2542
2554
|
box-sizing: border-box;
|
|
2543
2555
|
container-type: inline-size;
|
|
2544
2556
|
background: var(--dl-paper);
|
|
2545
|
-
|
|
2546
|
-
|
|
2557
|
+
width: 100%;
|
|
2558
|
+
margin: 0;
|
|
2559
|
+
flex: 1 0 auto;
|
|
2560
|
+
border-radius: inherit;
|
|
2561
|
+
padding: clamp(14px, 1.8vw, 28px);
|
|
2547
2562
|
align-content: start;
|
|
2548
2563
|
}
|
|
2549
2564
|
:root .dl-work.dl-transfer-canvas > .dl-work-head {
|
|
@@ -2557,7 +2572,7 @@ body:has(.uk) .pane-body { padding-bottom: 190px; }
|
|
|
2557
2572
|
.dl-transfer-canvas .dl-work-actions { flex-wrap: wrap; }
|
|
2558
2573
|
.dl-transfer-canvas .dl-work-actions .ak-btn:not(.ak-btn-primary) { background: var(--ak-panel); }
|
|
2559
2574
|
.dl-transfer-canvas .dl-compose-grid {
|
|
2560
|
-
grid-template-columns:
|
|
2575
|
+
grid-template-columns: clamp(17rem, 35%, 24rem) minmax(0, 1fr);
|
|
2561
2576
|
column-gap: clamp(16px, 3cqi, 42px);
|
|
2562
2577
|
}
|
|
2563
2578
|
.dl-transfer-canvas .dl-main { grid-area: 1 / 1; }
|
|
@@ -2567,13 +2582,15 @@ body:has(.uk) .pane-body { padding-bottom: 190px; }
|
|
|
2567
2582
|
.dl-artwork {
|
|
2568
2583
|
grid-area: 1 / 2;
|
|
2569
2584
|
min-width: 0;
|
|
2570
|
-
margin:
|
|
2585
|
+
margin: 0;
|
|
2571
2586
|
display: grid;
|
|
2572
2587
|
gap: 12px;
|
|
2573
2588
|
color: var(--dl-caption);
|
|
2574
2589
|
}
|
|
2575
2590
|
.dl-artwork-images { display: flex; justify-content: center; align-items: center; gap: 8px; }
|
|
2576
|
-
.dl-artwork-images img { flex: 1 1 0; min-width: 0; width: 100%; max-height:
|
|
2591
|
+
.dl-artwork-images img { flex: 1 1 0; min-width: 0; width: 100%; max-height: clamp(16rem, calc(100svh - 13rem), 52rem); object-fit: contain; }
|
|
2592
|
+
.dl-artwork-images img:first-child:not(:only-child) { object-position: right center; }
|
|
2593
|
+
.dl-artwork-images img + img { object-position: left center; }
|
|
2577
2594
|
.dl-artwork figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; overflow-wrap: anywhere; }
|
|
2578
2595
|
.dl-artwork figcaption:empty { display: none; }
|
|
2579
2596
|
.dl-artwork-title { display: grid; gap: .3rem; min-width: 0; }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cardinali-studio/adminkit",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.53",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Motore riusabile di un pannello di amministrazione per siti Hugo su Cloudflare Pages: codec del front matter guidato dallo schema, form React, libreria media su R2. NIENTE di specifico di un sito qui dentro.",
|
|
6
6
|
"license": "0BSD",
|