Improve canvas layers, heading removal and component previews in 1.5.3

This commit is contained in:
2026-11-28 16:15:19 +08:00
parent 93b58b87b0
commit cb317bbeb0
31 changed files with 322 additions and 90 deletions
+2 -1
View File
@@ -594,6 +594,7 @@ progress { width: 100%; height: .8rem; accent-color: var(--accent); }
--studio-margin-left: auto; --studio-margin-right: 0; --studio-justify: end;
text-align: right; justify-self: end;
}
.studio-anchor { display: block; height: 0; }
:is(.hero-lead, .section-heading > p, .rich > p)[class*="studio-align-"] {
margin-left: var(--studio-margin-left);
margin-right: var(--studio-margin-right);
@@ -605,7 +606,7 @@ progress { width: 100%; height: .8rem; accent-color: var(--accent); }
}
:is(.rich, .editor-preview) :is(img, video, audio)[class*="studio-align-"] { display: block; max-width: 100%; }
:is(.rich, .editor-preview) a[class*="studio-align-"] { display: flex; width: fit-content; max-width: 100%; }
:is(.rich, .editor-preview) :is(ol, ul)[class*="studio-align-"] { width: fit-content; max-width: 100%; }
:is(.rich, .editor-preview) :is(ol, ul)[class*="studio-align-"] { width: 100%; }
.rich > img[class*="studio-align-"]:not([class*="studio-media-"]) { max-width: min(100%, 46rem); }
.rich table[class*="studio-align-"] :is(th, td) { text-align: inherit; }
.hero-visual[class*="studio-align-"] { justify-self: var(--studio-justify); }